Skip to content

Commit

Permalink
Merge pull request #130 from naver/feature/bump-up-gradle-version
Browse files Browse the repository at this point in the history
Bump up Gradle 8.9

Reviewed-by: @kojandy @taeyeon-Kim
  • Loading branch information
sohyun-ku authored Jul 26, 2024
2 parents aada473 + 3dd84ac commit 4aa5641
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ subprojects {
}

project(":scavenger-old-agent-java").afterEvaluate {
tasks.all {
tasks.configureEach {
onlyIf {
project.hasProperty("oldAgent")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
10 changes: 5 additions & 5 deletions scavenger-agent-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ plugins {
java
`maven-publish`
signing
id("com.github.johnrengelman.shadow") version "7.0.0"
id("io.freefair.lombok") version "6.6.3"
id("org.unbroken-dome.test-sets") version "4.0.0"
id("com.github.johnrengelman.shadow") version "8.0.0"
id("io.freefair.lombok") version "8.6"
id("org.unbroken-dome.test-sets") version "4.1.0"
}

java {
Expand Down Expand Up @@ -77,7 +77,7 @@ dependencies {
}

testSets {
create("integrationTest")
register("integrationTest")
}

dependencies {
Expand All @@ -104,7 +104,7 @@ tasks.named<Test>("integrationTest") {

inputs.files(file("build.gradle.kts"))
inputs.files(tasks.shadowJar.get().outputs.files)
outputs.dir(file("$buildDir/test-results/integrationTest"))
outputs.dir(layout.buildDirectory.dir("test-results/integrationTest").get().asFile)

systemProperty("integrationTest.scavengerAgent", tasks.shadowJar.get().outputs.files.asPath)
systemProperty("integrationTest.classpath", "build/classes/java/integrationTest:$integrationTestRuntimeClasspath")
Expand Down
11 changes: 5 additions & 6 deletions scavenger-old-agent-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ plugins {
java
`maven-publish`
signing
id("io.freefair.lombok") version "6.5.1"
id("com.github.johnrengelman.shadow") version "7.0.0"
id("org.unbroken-dome.test-sets") version "4.0.0"
id("io.freefair.lombok") version "8.6"
id("com.github.johnrengelman.shadow") version "8.0.0"
id("org.unbroken-dome.test-sets") version "4.1.0"
}

repositories {
Expand Down Expand Up @@ -114,7 +114,7 @@ val javaPath = { version: Int ->
}

testSets {
create("integrationTest")
register("integrationTest")
}

dependencies {
Expand All @@ -139,8 +139,7 @@ tasks.named<Test>("integrationTest") {

inputs.files(file("build.gradle.kts"))
inputs.files(tasks.shadowJar.get().outputs.files)
// inputs.files (sourceSets.integrationTest.output)
outputs.dir(file("$buildDir/test-results/integrationTest"))
outputs.dir(layout.buildDirectory.dir("test-results/integrationTest").get().asFile)

systemProperty("integrationTest.codekvastAgent", tasks.shadowJar.get().outputs.files.asPath)
systemProperty("integrationTest.classpath", "build/classes/java/integrationTest:$integrationTestRuntimeClasspath")
Expand Down
2 changes: 1 addition & 1 deletion scavenger-old-model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
java
id("org.gradle.idea")
id("com.adarshr.test-logger") version "3.0.0"
id("io.freefair.lombok") version "6.5.1"
id("io.freefair.lombok") version "8.6"
}

dependencies {
Expand Down

0 comments on commit 4aa5641

Please sign in to comment.