react-native/settings.gradle.kts
Kevin Gozali f2ba978cad Codegen Android: build react-native-codegen via yarn when building from source
Summary:
The Gradle codegen integration requires the JS CLI to be first built via `yarn run build`. This commit puts that logic in a `build.sh` script, then defines a Gradle task to build it.

Changelog: [Internal]

Reviewed By: hramos

Differential Revision: D24556992

fbshipit-source-id: 7092de7c1126edc157b122f4b2243e55f7188846
2020-10-26 23:47:54 -07:00

24 lines
523 B
Plaintext

/*
* Copyright (c) Facebook, Inc. and its 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()
mavenLocal()
google()
}
}
include(
":ReactAndroid",
":packages:react-native-codegen:android",
":packages:rn-tester:android:app"
)
// Include this to enable codegen Gradle plugin.
includeBuild("packages/react-native-codegen/android")