Skip to content

Commit c68f4ee

Browse files
committed
Update Gradle and Develocity (#5201)
* Gradle 9.2.1 * Fix configuring the libs version catalog * Update develocity to 4.0.3 * Update develocity-commonCustomUserData to 2.4.0
1 parent 3310c46 commit c68f4ee

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

build-settings-logic/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ val suppressGradlePluginVersionWarning by tasks.registering {
8989
"*/\nabstract class EmbeddedKotlinPlugin",
9090
"*/\ninternal abstract class EmbeddedKotlinPlugin"
9191
)
92+
// Convert parameter into receiver
93+
.replace(".configureEach { swift ->", ".configureEach {")
94+
.replace("swift.withDependencies { dependencies ->", "withDependencies {")
95+
.replace("dependencies.clear()", "clear()")
9296
)
9397
}
9498
}

build-settings-logic/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
plugins {
66
// Keep it in sync with libs.versions.toml
7-
id("com.gradle.develocity") version "3.19.2"
7+
id("com.gradle.develocity") version "4.0.3"
88
}
99

1010
@Suppress("UnstableApiUsage")

build-settings-logic/src/main/kotlin/ktorsettings.dependency-resolution-management.settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencyResolutionManagement {
1818

1919
versionCatalogs {
2020
create("libs") {
21-
if (file("../gradle/libs.versions.toml").exists()) {
21+
if (!file("gradle/libs.versions.toml").exists() && file("../gradle/libs.versions.toml").exists()) {
2222
from(files("../gradle/libs.versions.toml"))
2323
}
2424

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ tomlj = "1.1.1"
8383
zstd-jni = "1.5.7-3"
8484

8585
# Keep it in sync with build-settings-logic/settings.gradle.kts
86-
develocity = "3.19.2" # Should be compatible with our server: ge.jetbrains.com
87-
develocity-commonCustomUserData = "2.3"
86+
develocity = "4.0.3" # Should be compatible with our server: ge.jetbrains.com
87+
develocity-commonCustomUserData = "2.4.0"
8888
gradleDoctor = "0.12.1"
8989
mavenPublishing = "0.34.0"
9090

gradle/wrapper/gradle-wrapper.jar

176 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

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-9.1.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)