Summary: This project was still using the legacy Gradle's "apply:" syntax to apply Gradle Plugins. I'm changing it here to use instead the `plugins{}` block as it make easier to apply other plugins for publishing later. Reviewed By: mdvacca Differential Revision: D46330014 fbshipit-source-id: 5483a717a62d5ab76749026c5203dc96a35d73e7
31 lines
774 B
Plaintext
31 lines
774 B
Plaintext
/*
|
|
* 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.
|
|
*/
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
}
|
|
|
|
plugins { id("com.gradle.enterprise").version("3.7.1") }
|
|
|
|
include(":sample", ":yoga", ":yoga-layout")
|
|
|
|
project(":yoga").projectDir = file("java")
|
|
|
|
project(":yoga-layout").projectDir = file("android")
|
|
|
|
rootProject.name = "yoga-github"
|
|
|
|
// 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")
|
|
}
|