2017-03-09 14:29:23 -06:00
|
|
|
buildscript {
|
2019-04-26 16:53:02 -05:00
|
|
|
ext.kotlin_version = '1.3.31'
|
2017-03-09 14:29:23 -06:00
|
|
|
repositories {
|
2017-09-10 08:32:45 -05:00
|
|
|
mavenCentral()
|
2018-03-04 05:49:16 -06:00
|
|
|
google()
|
2018-06-08 17:59:39 -05:00
|
|
|
jcenter()
|
2018-03-04 09:53:53 -06:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2018-08-25 17:18:31 -05:00
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-08-25 17:18:31 -05:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-05-17 17:22:07 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:3.4.1'
|
2018-12-13 17:20:54 -06:00
|
|
|
classpath 'com.google.gms:google-services:4.2.0'
|
2019-05-27 19:24:36 -05:00
|
|
|
classpath "io.fabric.tools:gradle:1.29.0"
|
2019-05-27 17:37:06 -05:00
|
|
|
classpath "com.github.triplet.gradle:play-publisher:2.2.1"
|
2019-05-27 15:41:16 -05:00
|
|
|
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1"
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-23 15:17:13 -05:00
|
|
|
project.ext.preDexLibs = !project.hasProperty("disablePreDex")
|
|
|
|
subprojects {
|
|
|
|
project.plugins.whenPluginAdded { plugin ->
|
|
|
|
if ("com.android.build.gradle.AppPlugin" == plugin.class.name) {
|
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
} else if ("com.android.build.gradle.LibraryPlugin" == plugin.class.name) {
|
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-09 14:29:23 -06:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-09-10 08:32:45 -05:00
|
|
|
mavenCentral()
|
2018-03-04 05:49:16 -06:00
|
|
|
google()
|
2018-06-08 17:59:39 -05:00
|
|
|
jcenter()
|
2018-08-25 17:18:31 -05:00
|
|
|
maven { url 'https://jitpack.io' }
|
2019-03-17 15:20:37 -05:00
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx/" }
|
2019-05-28 09:22:24 -05:00
|
|
|
maven { url "https://dl.bintray.com/mockito/maven" }
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|