Skip to content

Commit b8f1b92

Browse files
cortinicofacebook-github-bot
authored andcommitted
Setup publishing of Gradle Scans on GHA (#44879)
Summary: Pull Request resolved: #44879 This sets up publishing of Gradle scans for every build on GHA. Changelog: [Internal] [Changed] - Setup publishing of Gradle Scans on GHA Reviewed By: blakef Differential Revision: D58419361 fbshipit-source-id: f54365ad259324747248ef0bb726dc64964507f8
1 parent 14ccf6b commit b8f1b92

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

.github/actions/setup-gradle/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ runs:
77
uses: gradle/actions/setup-gradle@v3
88
with:
99
gradle-version: wrapper
10+
build-scan-publish: true
11+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
12+
build-scan-terms-of-use-agree: "yes"

gradle/gradle-enterprise.gradle.kts.sample

Lines changed: 0 additions & 17 deletions
This file was deleted.

settings.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ dependencyResolutionManagement {
3131
rootProject.name = "react-native-github"
3232

3333
plugins {
34-
id("com.gradle.enterprise").version("3.7.1")
3534
id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0")
3635
id("com.facebook.react.settings")
3736
}
@@ -40,9 +39,3 @@ configure<com.facebook.react.ReactSettingsExtension> {
4039
autolinkLibrariesFromCommand(
4140
workingDirectory = file("packages/rn-tester/"), lockFiles = files("yarn.lock"))
4241
}
43-
44-
// If you specify a file inside gradle/gradle-enterprise.gradle.kts
45-
// you can configure your custom Gradle Enterprise instance
46-
if (File("./gradle/gradle-enterprise.gradle.kts").exists()) {
47-
apply(from = "./gradle/gradle-enterprise.gradle.kts")
48-
}

0 commit comments

Comments
 (0)