2020-01-29 03:48:02 +00:00
|
|
|
plugins {
|
2020-04-25 18:30:14 +00: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
|
|
|
|
id("org.jlleitschuh.gradle.ktlint") version BuildPluginsVersion.KTLINT
|
|
|
|
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
|
2020-01-29 03:48:02 +00:00
|
|
|
}
|
2015-09-24 15:27:43 +00:00
|
|
|
|
2020-04-25 18:30:14 +00:00
|
|
|
allprojects {
|
2015-09-24 15:27:43 +00:00
|
|
|
repositories {
|
2017-10-28 14:39:34 +00:00
|
|
|
google()
|
2020-04-25 18:30:14 +00:00
|
|
|
maven { setUrl("https://www.jitpack.io") }
|
|
|
|
maven { setUrl("https://plugins.gradle.org/m2/") }
|
2018-11-17 09:15:03 +00:00
|
|
|
jcenter()
|
2015-09-24 15:27:43 +00:00
|
|
|
}
|
2020-04-25 18:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply {
|
|
|
|
plugin("org.jlleitschuh.gradle.ktlint")
|
|
|
|
}
|
|
|
|
|
|
|
|
ktlint {
|
|
|
|
debug.set(false)
|
|
|
|
version.set(Versions.KTLINT)
|
|
|
|
verbose.set(true)
|
|
|
|
android.set(false)
|
|
|
|
outputToConsole.set(true)
|
|
|
|
ignoreFailures.set(false)
|
|
|
|
enableExperimentalRules.set(true)
|
|
|
|
filter {
|
|
|
|
exclude("**/generated/**")
|
|
|
|
include("**/kotlin/**")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
2015-09-24 15:27:43 +00:00
|
|
|
dependencies {
|
2020-01-29 03:48:02 +00:00
|
|
|
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
|
|
|
classpath("com.google.gms:google-services:4.3.3")
|
2020-04-19 02:24:55 +00:00
|
|
|
classpath("com.google.android.gms:oss-licenses-plugin:0.10.2")
|
2015-09-24 15:27:43 +00:00
|
|
|
}
|
|
|
|
repositories {
|
2017-10-28 14:10:51 +00:00
|
|
|
google()
|
2019-03-14 16:32:08 +00:00
|
|
|
jcenter()
|
2015-09-24 15:27:43 +00:00
|
|
|
}
|
2016-10-11 15:04:47 +00:00
|
|
|
}
|
2020-01-29 03:48:02 +00:00
|
|
|
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|