We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9213e69 commit 6bd879cCopy full SHA for 6bd879c
build.gradle
@@ -29,8 +29,13 @@ repositories {
29
}
30
31
java {
32
- toolchain {
33
- languageVersion = JavaLanguageVersion.of(18)
+ // It seems that specifying the minimum supported Java version while allowing the use of newer
+ // ones isn't possible in Gradle. To test the library against multiple Java versions, the
34
+ // workaround proposed in https://github.com/gradle/gradle/issues/16256 has been applied:
35
+ if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_18)) {
36
+ toolchain {
37
+ languageVersion = JavaLanguageVersion.of(18)
38
+ }
39
40
withJavadocJar()
41
withSourcesJar()
settings.gradle
@@ -1,5 +1 @@
1
-plugins {
2
- id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
3
-}
4
-
5
rootProject.name = 'simdjson-java'
0 commit comments