Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/gradle/org.jetbrains.kotlin-kotli…
Browse files Browse the repository at this point in the history
…n-script-runtime-1.8.10
  • Loading branch information
remkop committed Feb 6, 2023
2 parents c1bc517 + e3dbca4 commit 4a8e755
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ include 'picocli-shell-jline2'
include 'picocli-codegen'

if (org.gradle.api.JavaVersion.current().isJava8Compatible()) {
include 'picocli-annotation-processing-tests'
include 'picocli-spring-boot-starter'
include 'picocli-shell-jline3'
} else {
println("Excluding modules picocli-spring-boot-starter, picocli-shell-jline3: " +
"they require Java 8+ but we have Java version ${org.gradle.api.JavaVersion.current()}")
}
if (org.gradle.api.JavaVersion.current().isJava9Compatible()) {
include 'picocli-codegen-tests-java8plus'
include 'picocli-tests-java8plus'
} else {
println("Excluding module picocli-annotation-processing-tests from the build: they require Java 8 but we have Java version ${org.gradle.api.JavaVersion.current()}")
println("Excluding modules picocli-codegen-tests-java8plus, " +
"picocli-tests-java8plus from the build: " +
"they require Java 8 9 but we have Java version ${org.gradle.api.JavaVersion.current()}")
}

0 comments on commit 4a8e755

Please sign in to comment.