Untitled
unknown
plain_text
3 years ago
1.7 kB
15
Indexable
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = "1.6.0"
buildToolsVersion = "29.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "20.1.5948944"
supportLibVersion = "28.0.3"
playServicesVersion = "17.0.0" // or find latest version
androidMapsUtilsVersion = "1.2.1"
googlePlayServicesAuthVersion = "16.0.1" // <--- use this version or newer
excludeAppGlideModule = true
}
repositories {
google()
jcenter()
// google()
// mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.0")
classpath("com.google.gms:google-services:4.3.8")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
repositories {
mavenLocal()
mavenCentral()
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")
}
maven { url 'https://www.jitpack.io' }
maven { url 'https://maven.google.com' }
google()
jcenter()
// google()
// mavenCentral()
}
}
Editor is loading...