forked from github/wulkanowy-mirror
8efc4d750d
Bumps sonarqube-gradle-plugin from 2.7 to 2.7.1.
44 lines
1.4 KiB
Groovy
44 lines
1.4 KiB
Groovy
buildscript {
|
|
ext.kotlin_version = '1.3.31'
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.android.tools.build:gradle:3.4.1'
|
|
classpath 'com.google.gms:google-services:4.2.0'
|
|
classpath "io.fabric.tools:gradle:1.28.1"
|
|
classpath "com.github.triplet.gradle:play-publisher:2.2.0"
|
|
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1"
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url "https://kotlin.bintray.com/kotlinx/" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|