mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
e563f0f3fc
Summary: As we had version numbers scattered all over the places, I'm consolidating them to use a version catalog: https://docs.gradle.org/current/userguide/platforms.html ## Changelog: [INTERNAL] - Use version catalog to consolidate versions for JVM dependencies Pull Request resolved: https://github.com/facebook/react-native/pull/38836 Test Plan: CI Reviewed By: cipolleschi Differential Revision: D48150285 Pulled By: cortinico fbshipit-source-id: 83a1867aace5395d9a10fadd6c6ab11c31fa14b5
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
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 {
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
include(
|
|
":packages:react-native:ReactAndroid",
|
|
":packages:react-native:ReactAndroid:flipper-integration",
|
|
":packages:react-native:ReactAndroid:hermes-engine",
|
|
":packages:react-native:ReactAndroid:external-artifacts",
|
|
":packages:rn-tester:android:app")
|
|
|
|
includeBuild("packages/react-native-gradle-plugin/")
|
|
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
create("libs") { from(files("packages/react-native/gradle/libs.versions.toml")) }
|
|
}
|
|
}
|
|
|
|
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")
|
|
}
|
|
|
|
// 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")
|
|
}
|