Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b8f1b92

Browse files
cortinicofacebook-github-bot
authored andcommittedJun 12, 2024
Setup publishing of Gradle Scans on GHA (facebook#44879)
Summary: Pull Request resolved: facebook#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

+3
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

-17
This file was deleted.

‎settings.gradle.kts

-7
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)
Please sign in to comment.