Remove unnecessary gradle-enterprise.gradle.kts from Yoga

Summary: This file is not really necessary. As we don't have a Gradle Enterprise instance anymore, let's just remove it and inline it.

Differential Revision: D76436236
This commit is contained in:
Nicola Corti
2025-06-11 10:21:47 -07:00
committed by Facebook GitHub Bot
parent 1232761571
commit 91029c27d2
2 changed files with 7 additions and 23 deletions

View File

@@ -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")
}
}