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 Nov 16, 2022
1 parent f49cc63 commit 3887469
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 @@ -26,6 +26,7 @@ apply plugin: 'com.palantir.external-publish'
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 @@ -43,8 +44,6 @@ subprojects {
apply plugin: 'java-library'
apply plugin: 'org.inferred.processors'

sourceCompatibility = 11
targetCompatibility = 11

tasks.withType(Checkstyle) {
enabled = false
Expand Down Expand Up @@ -89,3 +88,7 @@ idea.project.ipr.withXml { xml ->
</component>
'''))
}

javaVersions {
libraryTarget = 11
}

0 comments on commit 3887469

Please sign in to comment.