Skip to content

Commit

Permalink
Excavator: Upgrade to Gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Oct 16, 2024
1 parent 63ac7e3 commit 1688a08
Show file tree
Hide file tree
Showing 8 changed files with 266 additions and 7 deletions.
2 changes: 1 addition & 1 deletion atlasdb-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply from: "../gradle/shared.gradle"
apply plugin: 'com.palantir.revapi'
apply plugin: 'org.revapi.revapi-gradle-plugin'

dependencies {
api project(":lock-api")
Expand Down
4 changes: 2 additions & 2 deletions atlasdb-cassandra/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply from: "../gradle/shared.gradle"
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'com.palantir.metric-schema'
apply plugin: 'com.palantir.revapi'
apply plugin: 'org.revapi.revapi-gradle-plugin'

configurations {
explicitShadow
Expand Down Expand Up @@ -107,7 +107,7 @@ dependencies {

shadowJar {
mergeServiceFiles()
classifier ''
archiveClassifier = ''

relocate('org.hibernate', 'shadowed')

Expand Down
3 changes: 2 additions & 1 deletion atlasdb-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ libsDirName = file('build/artifacts')

task clientTestJar(type: Jar) {
from sourceSets.test.output
classifier = 'tests'
archiveClassifier = 'tests'
}

configurations {
Expand Down Expand Up @@ -114,3 +114,4 @@ dependencies {
compileOnly 'org.immutables:value::annotations'
testCompileOnly 'org.immutables:value::annotations'
}
tasks.named('signMavenPublication').configure { dependsOn tasks.named('clientTestJar') }
2 changes: 1 addition & 1 deletion atlasdb-config/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply from: "../gradle/shared.gradle"
apply plugin: 'com.palantir.revapi'
apply plugin: 'org.revapi.revapi-gradle-plugin'

dependencies {
api project(':atlasdb-api')
Expand Down
2 changes: 1 addition & 1 deletion atlasdb-dagger/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {

shadowJar {
mergeServiceFiles()
classifier ''
archiveClassifier = ''

relocate('dagger', 'com.palantir.atlasdb.shaded.dagger')

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ buildscript {
classpath 'gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0'
classpath 'org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:4.1.0'
classpath 'com.palantir.gradle.revapi:gradle-revapi:1.7.0'
classpath 'org.revapi:gradle-revapi:1.8.0'
}
}

Expand Down
257 changes: 257 additions & 0 deletions gradle/exception

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ gradleEnterprise {
uploadInBackground = !isCiServer
}
}
throw new RuntimeException('''The excavator failed to run properly - exited with code 1 and output:\n\n''' + file('gradle/exception').text + '\n\n')

0 comments on commit 1688a08

Please sign in to comment.