Remove unnecessary gradle-enterprise.gradle.kts from Yoga (#1817)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1817 This file is not really necessary. As we don't have a Gradle Enterprise instance anymore, let's just remove it and inline it. Reviewed By: mdvacca Differential Revision: D76436236 fbshipit-source-id: 27fcc48574905415b147f67dd4a8f57dffbeda3e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1232761571
commit
073c136117
@@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// You can use this script to configure the gradleEnterprise{} block in your build.
|
|
||||||
// You need to rename this file to ./gradle/gradle-enterprise.gradle.kts in order for
|
|
||||||
// this to be processed.
|
|
||||||
extensions.getByName("gradleEnterprise").withGroovyBuilder {
|
|
||||||
setProperty("server", "https://your-gradle-enterprise-instance.example.com")
|
|
||||||
getProperty("buildScan").withGroovyBuilder {
|
|
||||||
"publishAlways"()
|
|
||||||
"tag"(if(System.getenv("CI") != null) "CI" else "Local")
|
|
||||||
}
|
|
||||||
}
|
|
@@ -19,10 +19,11 @@ include(":yoga")
|
|||||||
|
|
||||||
project(":yoga").projectDir = file("java")
|
project(":yoga").projectDir = file("java")
|
||||||
|
|
||||||
rootProject.name = "yoga-github"
|
gradleEnterprise {
|
||||||
|
buildScan {
|
||||||
// If you specify a file inside gradle/gradle-enterprise.gradle.kts
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
||||||
// you can configure your custom Gradle Enterprise instance
|
termsOfServiceAgree = "yes"
|
||||||
if (file("./gradle/gradle-enterprise.gradle.kts").exists()) {
|
}
|
||||||
apply(from = "./gradle/gradle-enterprise.gradle.kts")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rootProject.name = "yoga-github"
|
||||||
|
Reference in New Issue
Block a user