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 Aug 20, 2024
1 parent 0e18c99 commit fe96673
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 @@ -29,6 +29,7 @@ apply plugin: 'com.palantir.failure-reports'
apply plugin: 'com.palantir.git-version'
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 @@ -48,8 +49,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 @@ -94,3 +93,7 @@ idea.project.ipr.withXml { xml ->
</component>
'''))
}

javaVersions {
libraryTarget = 11
}

0 comments on commit fe96673

Please sign in to comment.