Skip to content

Commit 3ad90d7

Browse files
kiviewrnorth
andauthored
Add Gradle Enterprise (#4057)
Co-authored-by: Richard North <[email protected]>
1 parent 12b08b9 commit 3ad90d7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/ci-examples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
env:
88
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
99
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
10+
GRADLE_ENTERPRISE_ACCESS_KEY: ge.testcontainers.org=${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
1011

1112
jobs:
1213
find_gradle_jobs:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
env:
88
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
99
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
10+
GRADLE_ENTERPRISE_ACCESS_KEY: ge.testcontainers.org=${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
1011

1112
jobs:
1213
thundra_test_initializer:

settings.gradle

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ buildscript {
66
}
77
dependencies {
88
classpath "gradle.plugin.ch.myniva.gradle:s3-build-cache:0.10.0"
9-
classpath "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.2.1"
9+
classpath "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.6.1"
10+
classpath "com.gradle:common-custom-user-data-gradle-plugin:1.2.1"
1011
}
1112
}
1213

1314
apply plugin: 'ch.myniva.s3-build-cache'
1415
apply plugin: 'com.gradle.enterprise'
16+
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
1517

1618
rootProject.name = 'testcontainers-java'
1719

@@ -56,7 +58,11 @@ buildCache {
5658

5759
gradleEnterprise {
5860
buildScan {
59-
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
60-
termsOfServiceAgree = 'yes'
61+
server = "https://ge.testcontainers.org/"
62+
publishAlways()
63+
publishIfAuthenticated()
64+
uploadInBackground = System.getenv("CI") == null
65+
captureTaskInputFiles = true
6166
}
67+
6268
}

0 commit comments

Comments
 (0)