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 9cfe679 commit d47ca34Copy full SHA for d47ca34
libs/simdvec/build.gradle
@@ -23,14 +23,15 @@ dependencies {
23
}
24
25
26
-tasks.named("compileMain21Java").configure {
+// compileMain21Java does not exist within idea (see MrJarPlugin) so we cannot reference directly by name
27
+tasks.matching { it.name == "compileMain21Java" }.configureEach {
28
options.compilerArgs << '--add-modules=jdk.incubator.vector'
29
// we remove Werror, since incubating suppression (-Xlint:-incubating)
30
// is only support since JDK 22
31
options.compilerArgs -= '-Werror'
32
33
-test {
34
+tasks.named('test').configure {
35
if (JavaVersion.current().majorVersion.toInteger() >= 21) {
36
jvmArgs '--add-modules=jdk.incubator.vector'
37
0 commit comments