2017-03-09 21:29:23 +01:00
|
|
|
buildscript {
|
2019-07-09 07:45:20 +00:00
|
|
|
ext.kotlin_version = '1.3.41'
|
2017-03-09 21:29:23 +01:00
|
|
|
repositories {
|
2017-09-10 15:32:45 +02:00
|
|
|
mavenCentral()
|
2018-03-04 12:49:16 +01:00
|
|
|
google()
|
2018-06-09 00:59:39 +02:00
|
|
|
jcenter()
|
2018-03-04 16:53:53 +01:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2018-08-26 00:18:31 +02:00
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
2017-03-09 21:29:23 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2018-08-26 00:18:31 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-07-10 07:22:59 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
2019-06-28 18:29:30 +00:00
|
|
|
classpath 'com.google.gms:google-services:4.3.0'
|
2019-07-26 08:14:13 +00:00
|
|
|
classpath "io.fabric.tools:gradle:1.31.0"
|
2019-05-28 00:37:06 +02:00
|
|
|
classpath "com.github.triplet.gradle:play-publisher:2.2.1"
|
2019-05-27 22:41:16 +02:00
|
|
|
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1"
|
2019-06-04 01:53:20 +02:00
|
|
|
classpath "gradle.plugin.com.star-zero.gradle:githook:1.1.0"
|
2017-03-09 21:29:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-23 22:17:13 +02: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 21:29:23 +01:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-09-10 15:32:45 +02:00
|
|
|
mavenCentral()
|
2018-03-04 12:49:16 +01:00
|
|
|
google()
|
2018-06-09 00:59:39 +02:00
|
|
|
jcenter()
|
2018-08-26 00:18:31 +02:00
|
|
|
maven { url 'https://jitpack.io' }
|
2019-03-17 21:20:37 +01:00
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx/" }
|
2019-05-28 14:22:24 +00:00
|
|
|
maven { url "https://dl.bintray.com/mockito/maven" }
|
2017-03-09 21:29:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|