2021-01-28 00:41:53 +01:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext {
|
2021-12-18 19:58:34 +01:00
|
|
|
buildToolsVersion = "30.0.2"
|
2021-01-28 00:41:53 +01:00
|
|
|
minSdkVersion = 21
|
2021-05-12 01:04:41 +02:00
|
|
|
compileSdkVersion = 30
|
|
|
|
targetSdkVersion = 30
|
2021-12-18 19:58:34 +01:00
|
|
|
ndkVersion = "21.4.7075529"
|
|
|
|
kotlinVersion = '1.5.32'
|
2021-01-28 00:41:53 +01:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-10-24 00:43:00 +02:00
|
|
|
mavenCentral()
|
2021-01-28 00:41:53 +01:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.google.gms:google-services:4.3.3'
|
2021-12-18 19:58:34 +01:00
|
|
|
classpath("com.android.tools.build:gradle:4.2.0")
|
2021-01-28 00:41:53 +01:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven {
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
2021-10-24 00:43:00 +02:00
|
|
|
url(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../android"))
|
2021-01-28 00:41:53 +01:00
|
|
|
}
|
|
|
|
maven {
|
|
|
|
// Android JSC is installed from npm
|
2021-10-24 00:43:00 +02:00
|
|
|
url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute().text.trim(), "../dist"))
|
2021-01-28 00:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
google()
|
2021-10-24 00:43:00 +02:00
|
|
|
mavenCentral()
|
2021-01-28 00:41:53 +01:00
|
|
|
jcenter()
|
|
|
|
maven { url 'https://www.jitpack.io' }
|
|
|
|
}
|
|
|
|
}
|