We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d5e7f commit 2a0d5ffCopy full SHA for 2a0d5ff
libs/simdvec/build.gradle
@@ -7,6 +7,7 @@
7
* License v3.0 only", or the "Server Side Public License, v 1".
8
*/
9
10
+import org.elasticsearch.gradle.internal.info.BuildParams
11
import org.elasticsearch.gradle.internal.precommit.CheckForbiddenApisTask
12
13
apply plugin: 'elasticsearch.publish'
@@ -32,7 +33,7 @@ tasks.matching { it.name == "compileMain21Java" }.configureEach {
32
33
}
34
35
tasks.named('test').configure {
- if (JavaVersion.current().majorVersion.toInteger() >= 21) {
36
+ if (BuildParams.getRuntimeJavaVersion().majorVersion.toInteger() >= 21) {
37
jvmArgs '--add-modules=jdk.incubator.vector'
38
39
0 commit comments