Skip to content

Commit

Permalink
Fix IntelliJ compilation
Browse files Browse the repository at this point in the history
In elastic#95057 we turned ML into a proper module, but omitted a `requires`
directive that IntelliJ reports as a compilation error. This commit adds
the missing directive.
  • Loading branch information
DaveCTurner committed Apr 10, 2023
1 parent 9347999 commit f19e3ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugin/ml/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
requires org.apache.lucene.core;
requires org.apache.lucene.join;
requires commons.math3;
requires ojalgo;

opens org.elasticsearch.xpack.ml to org.elasticsearch.painless.spi; // whitelist resource access
opens org.elasticsearch.xpack.ml.utils; // for exact.properties access
Expand Down

0 comments on commit f19e3ed

Please sign in to comment.