ilink-world/android/build.gradle

49 lines
1.2 KiB
Groovy
Raw Normal View History

2020-03-15 21:17:44 +00:00
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
2021-10-29 18:51:10 +00:00
compileSdkVersion = 29
targetSdkVersion = 29
2022-04-21 11:14:21 +00:00
ndkVersion = "21.4.7075529"
2020-03-15 21:17:44 +00:00
}
repositories {
google()
jcenter()
}
dependencies {
2020-10-16 17:57:16 +00:00
classpath('com.android.tools.build:gradle:4.0.2')
2020-03-15 21:17:44 +00:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
2020-03-22 11:07:44 +00:00
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}
2020-03-15 21:17:44 +00:00
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()
2021-10-29 18:51:10 +00:00
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
2020-03-15 21:17:44 +00:00
}
2022-04-21 11:14:21 +00:00
}