File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 matrix :
2828 java-version : [ 8.0.232 ]
2929 env :
30- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
30+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3131 steps :
3232 - name : Cache Gradle packages
3333 uses : actions/cache@v2
Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919plugins {
20- id ' com.gradle.enterprise ' version ' 3.13.1 '
21- id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 1.10 '
20+ id ' com.gradle.develocity ' version ' 3.18.2 '
21+ id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 2.0.2 '
2222}
2323
2424def isGithubActions = System . getenv(' GITHUB_ACTIONS' ) != null
2525def isJenkins = System . getenv(' JENKINS_URL' ) != null
2626def isCI = isGithubActions || isJenkins
2727
28- gradleEnterprise {
28+ develocity {
2929 server = " https://develocity.apache.org"
30+ projectId = " samza"
3031 buildScan {
31- capture { taskInputFiles = true }
3232 uploadInBackground = ! isCI
33- publishAlways()
34- publishIfAuthenticated()
33+ publishing. onlyIf { it. isAuthenticated() }
3534 obfuscation {
3635 // This obfuscates the IP addresses of the build machine in the build scan.
3736 // Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
@@ -45,7 +44,7 @@ buildCache {
4544 enabled = ! isCI
4645 }
4746
48- remote(gradleEnterprise . buildCache) {
47+ remote(develocity . buildCache) {
4948 enabled = false
5049 }
5150}
You can’t perform that action at this time.
0 commit comments