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 1915f93 commit 49a2ceaCopy full SHA for 49a2cea
.github/workflows/build.yaml
@@ -25,7 +25,9 @@ jobs:
25
java-version: ${{ matrix.java-version }}
26
cache: 'gradle'
27
- name: Build
28
- run: ./gradlew build
+ env:
29
+ RSQL_PARSER_GRADLE_USE_TOOLCHAIN: false
30
+ run: ./gradlew buildEnvironment build
31
- uses: codecov/codecov-action@v5
32
if: matrix.java-version == 8
33
with:
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
+
+ if (useToolchain) {
+ toolchain {
+ languageVersion.set(JavaLanguageVersion.of(8))
+ }
}
0 commit comments