mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
0e2f090631
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34967 This diff is a preparatory work for publishing artifacts on Maven Central. What it does is: 1. It sets up all the 3 modules (react-native, hermes-engine, external-artifacts) for publishg 2. Adds coordinates to publish on the Snapshot repository 3. Adds support for appendign -SNAPSHOT version if invoked with `-PisNightly=true` 4. Configures GPG signing of artifacts. I haven't touched the CircleCI and JS code yet. I'll do it in another diff. Changelog: [General] [Changed] - Setup publishing for Snapshot and Stable on Maven Reviewed By: mdvacca, cipolleschi Differential Revision: D40146212 fbshipit-source-id: 9321e16f6c18b35bc3ae785749d613085c56e7bc
34 lines
887 B
Plaintext
34 lines
887 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 {
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
include(
|
|
":ReactAndroid",
|
|
":ReactAndroid:hermes-engine",
|
|
":ReactAndroid:external-artifacts",
|
|
":packages:rn-tester:android:app")
|
|
|
|
// Include this to enable codegen Gradle plugin.
|
|
includeBuild("packages/react-native-gradle-plugin/")
|
|
|
|
rootProject.name = "react-native-github"
|
|
|
|
plugins { id("com.gradle.enterprise").version("3.7.1") }
|
|
|
|
// 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")
|
|
}
|