49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
buildscript {
|
|
ext {
|
|
buildToolsVersion = "28.0.3"
|
|
minSdkVersion = 16
|
|
compileSdkVersion = 29
|
|
targetSdkVersion = 29
|
|
ndkVersion = "21.4.7075529"
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath('com.android.tools.build:gradle:4.0.2')
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
afterEvaluate {project ->
|
|
if (project.hasProperty("android")) {
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url("$rootDir/../node_modules/react-native/android")
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
|
}
|
|
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://maven.google.com' }
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
} |