2020-01-29 11:48:02 +08:00
|
|
|
plugins {
|
2020-04-26 02:30:14 +08:00
|
|
|
id("com.android.application") version BuildPluginsVersion.AGP apply false
|
|
|
|
id("com.android.library") version BuildPluginsVersion.AGP apply false
|
|
|
|
kotlin("android") version BuildPluginsVersion.KOTLIN apply false
|
2020-09-14 22:46:31 +08:00
|
|
|
id("org.jmailen.kotlinter") version BuildPluginsVersion.KOTLINTER
|
2020-04-26 02:30:14 +08:00
|
|
|
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
|
2020-01-29 11:48:02 +08:00
|
|
|
}
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2020-04-26 02:30:14 +08:00
|
|
|
allprojects {
|
2015-09-24 23:27:43 +08:00
|
|
|
repositories {
|
2020-07-19 03:01:13 +08:00
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
2017-10-28 22:39:34 +08:00
|
|
|
google()
|
2020-04-26 02:30:14 +08:00
|
|
|
maven { setUrl("https://www.jitpack.io") }
|
2015-09-24 23:27:43 +08:00
|
|
|
}
|
2020-04-26 02:30:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
2020-09-14 06:48:20 +08:00
|
|
|
apply(plugin = "org.jmailen.kotlinter")
|
2020-04-26 02:30:14 +08:00
|
|
|
|
2020-09-14 06:48:20 +08:00
|
|
|
kotlinter {
|
|
|
|
experimentalRules = true
|
2020-04-26 02:30:14 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
2015-09-24 23:27:43 +08:00
|
|
|
dependencies {
|
2020-01-29 11:48:02 +08:00
|
|
|
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
|
|
|
classpath("com.google.gms:google-services:4.3.3")
|
2020-08-11 10:49:46 +08:00
|
|
|
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:8.3.0")
|
2015-09-24 23:27:43 +08:00
|
|
|
}
|
|
|
|
repositories {
|
2017-10-28 22:10:51 +08:00
|
|
|
google()
|
2019-03-15 00:32:08 +08:00
|
|
|
jcenter()
|
2015-09-24 23:27:43 +08:00
|
|
|
}
|
2016-10-11 23:04:47 +08:00
|
|
|
}
|
2020-01-29 11:48:02 +08:00
|
|
|
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|