Skip to content

Commit

Permalink
Testing: run older Gradle versions on Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohannes committed Aug 19, 2024
1 parent a1dc5f6 commit d5678b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: |
11
17
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- run: "./gradlew build"
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ listOf("6.8.3", "6.9.2", "7.0.2", "7.6.1").forEach { gradleVersionUnderTest ->
useJUnitPlatform()
maxParallelForks = 4
systemProperty("gradleVersionUnderTest", gradleVersionUnderTest)
javaLauncher = javaToolchains.launcherFor { languageVersion = JavaLanguageVersion.of(11) }
}
tasks.check {
dependsOn(testGradle)
Expand Down

0 comments on commit d5678b7

Please sign in to comment.