wulkanowy-mod/build.gradle

47 lines
1.6 KiB
Groovy
Raw Normal View History

2017-03-09 14:29:23 -06:00
buildscript {
ext.kotlin_version = '1.3.71'
ext.about_libraries = '8.1.1'
2017-03-09 14:29:23 -06:00
repositories {
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"
2020-04-01 13:56:41 -05:00
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'com.google.gms:google-services:4.3.3'
//noinspection GradleDependency https://github.com/firebase/firebase-android-sdk/issues/1276#issuecomment-592098283
classpath "io.fabric.tools:gradle:1.31.0"
2020-04-01 17:34:24 -05:00
classpath "com.github.triplet.gradle:play-publisher:2.7.3"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8"
classpath "gradle.plugin.com.star-zero.gradle:githook:1.2.0"
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${about_libraries}"
2017-03-09 14:29:23 -06: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 {
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' }
2017-03-09 14:29:23 -06:00
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}