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 41cce50 commit dbcca3cCopy full SHA for dbcca3c
.github/workflows/build.yaml
@@ -26,6 +26,8 @@ jobs:
26
java-version: ${{ matrix.java-version }}
27
cache: 'gradle'
28
- name: Build
29
+ env:
30
+ RSQL_PARSER_GRADLE_USE_TOOLCHAIN: false
31
run: ./gradlew build
32
- uses: codecov/codecov-action@v5
33
if: matrix.java-version == 8
build.gradle.kts
@@ -20,8 +20,12 @@ java {
20
withSourcesJar()
21
withJavadocJar()
22
23
- toolchain {
24
- languageVersion.set(JavaLanguageVersion.of(8))
+ val useToolchain = System.getenv("RSQL_PARSER_GRADLE_USE_TOOLCHAIN")?.toBoolean() ?: true
+
25
+ if (useToolchain) {
+ toolchain {
+ languageVersion.set(JavaLanguageVersion.of(8))
+ }
}
0 commit comments