Skip to content

Commit 6f0e6e4

Browse files
authored
Move to develocity plugin (#8821)
1 parent e2941dc commit 6f0e6e4

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

examples/settings.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
}
1313

14-
apply plugin: 'com.gradle.enterprise'
14+
apply plugin: 'com.gradle.develocity'
1515
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
1616

1717
rootProject.name = 'testcontainers-examples'
@@ -54,13 +54,14 @@ buildCache {
5454
}
5555
}
5656

57-
gradleEnterprise {
57+
develocity {
5858
buildScan {
5959
server = "https://ge.testcontainers.org/"
60-
publishAlways()
61-
publishIfAuthenticated()
60+
publishing.onlyIf {
61+
it.authenticated
62+
}
6263
uploadInBackground = !isCI
63-
captureTaskInputFiles = true
64+
capture.fileFingerprints = true
6465
}
6566

6667
}

settings.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
}
1313

14-
apply plugin: 'com.gradle.enterprise'
14+
apply plugin: 'com.gradle.develocity'
1515
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
1616
apply plugin: "org.gradle.toolchains.foojay-resolver-convention"
1717

@@ -51,13 +51,14 @@ buildCache {
5151
}
5252
}
5353

54-
gradleEnterprise {
54+
develocity {
5555
buildScan {
5656
server = "https://ge.testcontainers.org/"
57-
publishAlways()
58-
publishIfAuthenticated()
57+
publishing.onlyIf {
58+
it.authenticated
59+
}
5960
uploadInBackground = !isCI
60-
captureTaskInputFiles = true
61+
capture.fileFingerprints = true
6162
}
6263

6364
}

smoke-test/settings.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
}
1313

14-
apply plugin: 'com.gradle.enterprise'
14+
apply plugin: 'com.gradle.develocity'
1515
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
1616

1717
rootProject.name = 'testcontainers-smoke-tests'
@@ -38,13 +38,14 @@ buildCache {
3838
}
3939
}
4040

41-
gradleEnterprise {
41+
develocity {
4242
buildScan {
4343
server = "https://ge.testcontainers.org/"
44-
publishAlways()
45-
publishIfAuthenticated()
44+
publishing.onlyIf {
45+
it.authenticated
46+
}
4647
uploadInBackground = !isCI
47-
captureTaskInputFiles = true
48+
capture.fileFingerprints = true
4849
}
4950

5051
}

0 commit comments

Comments
 (0)