Skip to content

Commit

Permalink
Excavator: Use baseline-java-versions to manage Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Oct 15, 2024
1 parent 7749c2c commit d55ad5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .circleci/template.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash
export CIRCLECI_TEMPLATE=java-library-oss
export JDK=17
export UNIT_TEST_11=true
export UNIT_TEST_15=true
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ apply plugin: 'com.palantir.jdks'
apply plugin: 'com.palantir.jdks.latest'
apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.consistent-versions'
apply plugin: 'com.palantir.baseline-java-versions'

version System.env.CIRCLE_TAG ?: gitVersion()

Expand All @@ -47,8 +48,6 @@ subprojects {
apply plugin: 'java-library'
apply plugin: 'org.inferred.processors'

sourceCompatibility = 11
targetCompatibility = 11

tasks.withType(Checkstyle).configureEach {
enabled = false
Expand Down Expand Up @@ -97,3 +96,7 @@ idea.project.ipr.withXml { xml ->
jdks {
daemonTarget = 17
}

javaVersions {
libraryTarget = 11
}

0 comments on commit d55ad5e

Please sign in to comment.