1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/Example/testHotUpdate/android/build.gradle

40 lines
1.0 KiB
Groovy
Raw Normal View History

2016-02-23 19:51:58 +08:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2019-10-04 18:38:54 +08:00
ext {
2021-04-09 18:23:29 +08:00
buildToolsVersion = "29.0.3"
2020-09-01 15:29:13 +08:00
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
2021-04-09 18:23:29 +08:00
ndkVersion = "20.1.5948944"
2019-10-04 18:38:54 +08:00
}
2016-02-23 19:51:58 +08:00
repositories {
2019-10-04 18:38:54 +08:00
google()
2016-02-23 19:51:58 +08:00
jcenter()
}
dependencies {
2021-04-09 18:23:29 +08:00
classpath('com.android.tools.build:gradle:4.1.0')
2016-02-23 19:51:58 +08:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
2019-10-04 18:38:54 +08:00
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()
2016-02-23 19:51:58 +08:00
jcenter()
2020-09-01 15:29:13 +08:00
maven { url 'https://www.jitpack.io' }
2016-02-23 19:51:58 +08:00
}
}