Skip to content

Commit 170717f

Browse files
committed
Upgrade to Gradle 9.1.0
1 parent ffde760 commit 170717f

File tree

36 files changed

+98
-100
lines changed

36 files changed

+98
-100
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ Migration to 3.x
166166
```groovy
167167
// can safely delete this from build scripts
168168
dependencies {
169-
scoverage group: 'org.scoverage', name: 'scalac-scoverage-plugin_2.12', version: '1.3.1'
170-
scoverage group: 'org.scoverage', name: 'scalac-scoverage-runtime_2.12', version: '1.3.1'
169+
scoverage 'org.scoverage:scalac-scoverage-plugin_2.12:1.3.1'
170+
scoverage 'org.scoverage:scalac-scoverage-runtime_2.12:1.3.1'
171171
}
172172
```
173173

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848
compileOnly 'org.scoverage:scalac-scoverage-plugin_2.13.14:2.1.1'
4949
compileOnly 'org.scoverage:scalac-scoverage-reporter_2.13:2.1.1'
5050

51-
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
51+
implementation 'commons-io:commons-io:2.6'
5252

5353
testImplementation 'junit:junit:4.12'
5454
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
distributionSha256Sum=f397b287023acdba1e9f6fc5ea72d22dd63669d59ed4a289a29b1a76eee151c6
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies {
2-
implementation group: 'org.scala-lang', name: 'scala-library', version: "2.12.17"
3-
testImplementation group: 'org.scalatest', name: "scalatest_2.12", version: scalatestVersion
2+
implementation 'org.scala-lang:scala-library:2.12.17'
3+
testImplementation "org.scalatest:scalatest_2.12:${scalatestVersion}"
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies {
2-
implementation group: 'org.scala-lang', name: 'scala-library', version: "2.13.10"
3-
testImplementation group: 'org.scalatest', name: "scalatest_2.13", version: scalatestVersion
2+
implementation "org.scala-lang:scala-library:2.13.10"
3+
testImplementation "org.scalatest:scalatest_2.13:${scalatestVersion}"
44
}

src/crossScalaVersionTest/resources/projects/scala-multi-module-cross-version/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ allprojects {
1717
apply plugin: 'org.scoverage'
1818

1919
dependencies {
20-
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: junitVersion
21-
testImplementation group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
20+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVersion}"
21+
testImplementation "org.junit.platform:junit-platform-runner:${junitPlatformVersion}"
2222
}
2323

2424
test {

src/functionalTest/resources/projects/composite-build/proj1/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ group "org.composite"
1616
version '1.0'
1717

1818
dependencies {
19-
implementation group: 'org.scala-lang', name: 'scala-library', version: "${scalaVersionMajor}.${scalaVersionMinor}.${scalaVersionBuild}"
19+
implementation "org.scala-lang:scala-library:${scalaVersionMajor}.${scalaVersionMinor}.${scalaVersionBuild}"
2020

21-
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: junitVersion
22-
testImplementation group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
21+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVersion}"
22+
testImplementation "org.junit.platform:junit-platform-runner:${junitPlatformVersion}"
2323

24-
testImplementation group: 'org.scalatest', name: "scalatest_${scalaVersionMajor}.${scalaVersionMinor}", version: scalatestVersion
24+
testImplementation "org.scalatest:scalatest_${scalaVersionMajor}.${scalaVersionMinor}:${scalatestVersion}"
2525

2626
implementation "org.composite:proj2:1.0"
2727
}

src/functionalTest/resources/projects/composite-build/proj2/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ group "org.composite"
1616
version '1.0'
1717

1818
dependencies {
19-
implementation group: 'org.scala-lang', name: 'scala-library', version: "${scalaVersionMajor}.${scalaVersionMinor}.${scalaVersionBuild}"
19+
implementation "org.scala-lang:scala-library:${scalaVersionMajor}.${scalaVersionMinor}.${scalaVersionBuild}"
2020

21-
testRuntimeOnly group: 'org.junit.vintage', name: 'junit-vintage-engine', version: junitVersion
22-
testImplementation group: 'org.junit.platform', name: 'junit-platform-runner', version: junitPlatformVersion
21+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVersion}"
22+
testImplementation "org.junit.platform:junit-platform-runner:${junitPlatformVersion}"
2323

24-
testImplementation group: 'org.scalatest', name: "scalatest_${scalaVersionMajor}.${scalaVersionMinor}", version: scalatestVersion
24+
testImplementation "org.scalatest:scalatest_${scalaVersionMajor}.${scalaVersionMinor}:${scalatestVersion}"
2525
}
2626

2727
test {

src/functionalTest/resources/projects/detect-scala-library/compile/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ repositories {
99
description = 'defines scala library using the "implementation" configuration'
1010

1111
dependencies {
12-
implementation group: 'org.scala-lang', name: 'scala-library', version: "${detectedScalaLibraryVersion}"
12+
implementation "org.scala-lang:scala-library:${detectedScalaLibraryVersion}"
1313
}

src/functionalTest/resources/projects/detect-scala-library/compileOnly/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ repositories {
99
description = 'defines scala library using the "compileOnly" configuration'
1010

1111
dependencies {
12-
compileOnly group: 'org.scala-lang', name: 'scala-library', version: "${detectedScalaLibraryVersion}"
12+
compileOnly "org.scala-lang:scala-library:${detectedScalaLibraryVersion}"
1313
}

0 commit comments

Comments
 (0)