2020-01-28 22:48:02 -05:00
|
|
|
plugins {
|
2020-04-25 14:30:14 -04: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 10:46:31 -04:00
|
|
|
id("org.jmailen.kotlinter") version BuildPluginsVersion.KOTLINTER
|
2020-04-25 14:30:14 -04:00
|
|
|
id("com.github.ben-manes.versions") version BuildPluginsVersion.VERSIONS_PLUGIN
|
2020-01-28 22:48:02 -05:00
|
|
|
}
|
2015-09-24 11:27:43 -04:00
|
|
|
|
2020-04-25 14:30:14 -04:00
|
|
|
allprojects {
|
2015-09-24 11:27:43 -04:00
|
|
|
repositories {
|
2020-07-18 15:01:13 -04:00
|
|
|
mavenCentral()
|
2017-10-28 10:39:34 -04:00
|
|
|
google()
|
2020-04-25 14:30:14 -04:00
|
|
|
maven { setUrl("https://www.jitpack.io") }
|
2021-02-04 09:01:56 -05:00
|
|
|
jcenter()
|
2015-09-24 11:27:43 -04:00
|
|
|
}
|
2020-04-25 14:30:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
2020-09-13 18:48:20 -04:00
|
|
|
apply(plugin = "org.jmailen.kotlinter")
|
2020-04-25 14:30:14 -04:00
|
|
|
|
2020-09-13 18:48:20 -04:00
|
|
|
kotlinter {
|
|
|
|
experimentalRules = true
|
2021-04-11 18:16:15 -04:00
|
|
|
|
|
|
|
// Doesn't play well with Android Studio
|
|
|
|
disabledRules = arrayOf("experimental:argument-list-wrapping")
|
2020-04-25 14:30:14 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
2015-09-24 11:27:43 -04:00
|
|
|
dependencies {
|
2020-01-28 22:48:02 -05:00
|
|
|
classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2")
|
2021-05-27 18:13:11 -04:00
|
|
|
classpath("com.google.gms:google-services:4.3.8")
|
2020-12-12 23:50:05 -05:00
|
|
|
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${BuildPluginsVersion.ABOUTLIB_PLUGIN}")
|
2020-10-11 14:53:02 -04:00
|
|
|
classpath(kotlin("serialization", version = BuildPluginsVersion.KOTLIN))
|
2015-09-24 11:27:43 -04:00
|
|
|
}
|
|
|
|
repositories {
|
2017-10-28 10:10:51 -04:00
|
|
|
google()
|
2019-03-14 12:32:08 -04:00
|
|
|
jcenter()
|
2015-09-24 11:27:43 -04:00
|
|
|
}
|
2016-10-11 11:04:47 -04:00
|
|
|
}
|
2020-01-28 22:48:02 -05:00
|
|
|
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|