2017-05-06 16:37:28 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2018-10-02 20:57:31 +02:00
|
|
|
ext {
|
2019-06-14 08:12:24 +02:00
|
|
|
buildToolsVersion = "28.0.3"
|
2018-10-02 20:57:31 +02:00
|
|
|
minSdkVersion = 16
|
2019-06-14 08:12:24 +02:00
|
|
|
compileSdkVersion = 28
|
|
|
|
targetSdkVersion = 28
|
|
|
|
supportLibVersion = "28.0.0"
|
2018-10-02 20:57:31 +02:00
|
|
|
}
|
2017-05-06 16:37:28 +02:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
2018-10-02 20:57:31 +02:00
|
|
|
google()
|
2017-05-06 16:37:28 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2019-06-14 10:14:01 +02:00
|
|
|
classpath("com.android.tools.build:gradle:3.4.0")
|
2017-05-06 16:37:28 +02:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2018-12-16 15:11:45 +02:00
|
|
|
google()
|
|
|
|
jcenter() // Was added by me - still needed?
|
2019-06-14 23:45:35 +02:00
|
|
|
maven { url "https://jitpack.io" }
|
2018-06-10 16:18:07 +02:00
|
|
|
maven {
|
|
|
|
url "https://maven.google.com"
|
|
|
|
}
|
2017-05-06 16:37:28 +02:00
|
|
|
maven {
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
|
|
}
|
2019-06-14 19:37:46 +02:00
|
|
|
maven {
|
|
|
|
url "$rootDir/../node_modules/jsc-android/dist"
|
|
|
|
}
|
2017-05-06 16:37:28 +02:00
|
|
|
}
|
|
|
|
}
|
2018-10-02 20:57:31 +02:00
|
|
|
|
2019-06-14 19:37:46 +02:00
|
|
|
// TODO: Maybe remove this (forgot why it was needed - probably to make some module work)
|
2018-10-02 20:57:31 +02:00
|
|
|
|
2019-06-15 02:23:12 +02:00
|
|
|
subprojects {
|
|
|
|
afterEvaluate {project ->
|
|
|
|
if (project.hasProperty("android")) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.3"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-02 19:10:37 +02:00
|
|
|
|