mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Summary: Convert root Gradle script to Kotlin DSL, and cleanup. Currently, there is not much benefit or advantage over Groovy scripts, except IDE support and it'll cache compiled KTS scripts on first run. [Android] [Changed] - Convert root Gradle script to Kotlin DSL, and cleanup. Pull Request resolved: https://github.com/facebook/react-native/pull/24631 Differential Revision: D15120190 Pulled By: cpojer fbshipit-source-id: 86691db5c7746e71bb243ebc263c1a3075ee9a9e
30 lines
682 B
Plaintext
30 lines
682 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.
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:3.4.0")
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
url = uri("$rootDir/node_modules/jsc-android/dist")
|
|
}
|
|
mavenLocal()
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|