2017-03-09 14:29:23 -06:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-09-10 08:32:45 -05:00
|
|
|
mavenCentral()
|
2018-03-04 05:49:16 -06:00
|
|
|
google()
|
2018-03-04 09:53:53 -06:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
dependencies {
|
2017-11-26 09:32:33 -06:00
|
|
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
2017-03-09 14:29:23 -06:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
2017-11-26 09:32:33 -06:00
|
|
|
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1"
|
2017-11-18 15:17:18 -06:00
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
|
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.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-11-26 09:32:33 -06:00
|
|
|
ext {
|
|
|
|
GROUP_ID = "io.github.wulkanowy"
|
|
|
|
}
|
|
|
|
|
2017-03-09 14:29:23 -06:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
2017-09-10 08:32:45 -05:00
|
|
|
mavenCentral()
|
2018-03-04 05:49:16 -06:00
|
|
|
google()
|
2018-03-11 12:18:33 -05:00
|
|
|
maven { url "https://jitpack.io" }
|
2017-03-09 14:29:23 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|