1
0
Fork 0
phizclip-react-native-demo/android/build.gradle

46 lines
1.2 KiB
Groovy
Raw Normal View History

2020-04-13 19:06:07 +08:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
2021-08-31 14:18:30 +08:00
buildToolsVersion = "30.0.2"
2020-04-13 19:06:07 +08:00
minSdkVersion = 21
2021-08-31 14:18:30 +08:00
compileSdkVersion = 30
targetSdkVersion = 30
ndkVersion = "20.1.5948944"
2020-04-13 19:06:07 +08:00
}
repositories {
google()
2021-08-31 14:18:30 +08:00
mavenCentral()
2020-04-13 19:06:07 +08:00
}
dependencies {
2021-08-31 14:18:30 +08:00
classpath("com.android.tools.build:gradle:4.2.1")
2020-04-13 19:06:07 +08:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
2021-08-31 14:18:30 +08:00
mavenCentral()
2020-04-13 19:06:07 +08:00
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()
maven {
url "https://gradle.finogeeks.club/repository/applet/"
credentials {
username "applet"
password "123321"
}
}
2021-08-31 14:18:30 +08:00
maven { url 'https://www.jitpack.io' }
2020-04-13 19:06:07 +08:00
}
}