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

51 lines
1.4 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
2022-04-21 13:55:54 +08:00
ndkVersion = "21.4.7075529"
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 {
2022-04-21 13:55:54 +08:00
classpath("com.android.tools.build:gradle:4.2.2")
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 {
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")
}
2022-04-21 13:55:54 +08:00
mavenCentral {
// We don't want to fetch react-native from Maven Central as there are
// older versions over there.
content {
excludeGroup "com.facebook.react"
}
}
2020-04-13 19:06:07 +08:00
google()
2022-04-21 13:55:54 +08:00
maven { url 'https://www.jitpack.io' }
2020-04-13 19:06:07 +08:00
maven {
url "https://gradle.finogeeks.club/repository/applet/"
credentials {
username "applet"
password "123321"
}
}
}
}