Skip to content

Commit fcc755b

Browse files
committed
[Oztechan/CCC#3329] Get rid of gradle enterprise plugin and activate build scan in CI
1 parent ea0d6a0 commit fcc755b

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
uses: gradle/actions/[email protected]
2727
with:
2828
arguments: build
29+
build-scan-publish: true
30+
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
31+
build-scan-terms-of-use-agree: "yes"
2932

3033
- name: Notify slack fail
3134
if: failure()

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
uses: gradle/actions/[email protected]
2727
with:
2828
arguments: publish
29+
build-scan-publish: true
30+
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
31+
build-scan-terms-of-use-agree: "yes"
2932
env:
3033
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
3134
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

settings.gradle.kts

-16
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@ pluginManagement {
88
}
99
}
1010

11-
plugins {
12-
id("com.gradle.enterprise") version "3.17.1"
13-
}
14-
15-
develocity.buildScan {
16-
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
17-
termsOfUseAgree.set("yes")
18-
publishing.onlyIf { true }
19-
20-
obfuscation {
21-
username { null }
22-
hostname { null }
23-
ipAddresses { null }
24-
}
25-
}
26-
2711
include(":basemob")
2812

2913
rootProject.name = "BaseMob"

0 commit comments

Comments
 (0)