Skip to content

Commit

Permalink
Setup publishing of Gradle Scans on GHA (#44879)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cortinico authored and facebook-github-bot committed Jun 12, 2024
1 parent 14ccf6b commit b8f1b92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ runs:
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
17 changes: 0 additions & 17 deletions gradle/gradle-enterprise.gradle.kts.sample

This file was deleted.

7 changes: 0 additions & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencyResolutionManagement {
rootProject.name = "react-native-github"

plugins {
id("com.gradle.enterprise").version("3.7.1")
id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0")
id("com.facebook.react.settings")
}
Expand All @@ -40,9 +39,3 @@ configure<com.facebook.react.ReactSettingsExtension> {
autolinkLibrariesFromCommand(
workingDirectory = file("packages/rn-tester/"), lockFiles = files("yarn.lock"))
}

// If you specify a file inside gradle/gradle-enterprise.gradle.kts
// you can configure your custom Gradle Enterprise instance
if (File("./gradle/gradle-enterprise.gradle.kts").exists()) {
apply(from = "./gradle/gradle-enterprise.gradle.kts")
}

0 comments on commit b8f1b92

Please sign in to comment.