mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 21:27:46 +00:00
191fc0f7cc
Summary: This Diff sets up a small Gradle build inside `ReactAndroid/hermes-engine` The idea is to kickoff a small project where we can download Hermes sources and start a compilation of the Hermes sources from there. Specifically the used paths are: - `/sdk/hermes` for the unzipping - `/sdk/download/hermes.tar.gz` for the tarball location - `/sdk/hermes/.hermesversion` for the hermes version. allow-large-files Changelog: [Internal] [Changed] - Setup a Gradle build inside `hermes-engine` to download Hermes sources Reviewed By: hramos Differential Revision: D34210236 fbshipit-source-id: 97034f5608dfb3fcd1d74e9851944f7a60e52ea1
37 lines
916 B
Plaintext
37 lines
916 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",
|
|
":packages:react-native-codegen:android",
|
|
":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")
|
|
}
|