2017-08-03 18:23:43 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2019-05-22 20:15:35 +00:00
|
|
|
ext {
|
|
|
|
buildToolsVersion = "28.0.3"
|
|
|
|
minSdkVersion = 21
|
|
|
|
compileSdkVersion = 28
|
|
|
|
targetSdkVersion = 28
|
2019-06-21 16:39:20 +00:00
|
|
|
glideVersion = "4.9.0"
|
2019-10-07 20:56:30 +00:00
|
|
|
kotlin_version = "1.3.50"
|
|
|
|
supportLibVersion = "28.0.0"
|
2019-05-22 20:15:35 +00:00
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
repositories {
|
2018-07-10 13:40:32 +00:00
|
|
|
mavenLocal()
|
2018-10-23 21:39:48 +00:00
|
|
|
google()
|
2018-07-10 13:40:32 +00:00
|
|
|
jcenter()
|
2019-05-28 13:03:08 +00:00
|
|
|
maven {
|
|
|
|
url 'https://maven.fabric.io/public'
|
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
2019-10-07 20:56:30 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
2019-05-28 13:03:08 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.2.0'
|
2019-08-20 19:24:22 +00:00
|
|
|
classpath 'io.fabric.tools:gradle:1.28.1'
|
|
|
|
classpath 'com.google.firebase:perf-plugin:1.2.1'
|
2019-10-07 20:56:30 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-09-03 19:27:57 +00:00
|
|
|
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:4.+'
|
2017-08-03 18:23:43 +00: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
|
2019-08-20 19:24:22 +00:00
|
|
|
url("$rootDir/../node_modules/react-native/android")
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|
2019-06-05 14:20:56 +00:00
|
|
|
maven {
|
2019-08-20 19:24:22 +00:00
|
|
|
// Android JSC is installed from npm
|
|
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
2019-06-05 14:20:56 +00:00
|
|
|
}
|
2019-10-07 20:56:30 +00:00
|
|
|
maven {
|
|
|
|
// We should change it when Jitsi-SDK release v2.4
|
|
|
|
url("$rootDir/../node_modules/react-native-jitsi-meet/jitsi-sdk")
|
|
|
|
// url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
|
|
|
|
}
|
2019-08-20 19:24:22 +00:00
|
|
|
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
|
|
|
|
maven { url 'https://maven.google.com' }
|
|
|
|
maven { url "https://jitpack.io" }
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-18 20:34:59 +00:00
|
|
|
|
2020-01-29 20:20:36 +00:00
|
|
|
subprojects { subproject ->
|
|
|
|
afterEvaluate {
|
|
|
|
if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.3"
|
|
|
|
defaultConfig {
|
|
|
|
targetSdkVersion 28
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|