2022-03-04 09:58:31 -05:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
|
|
|
classpath(libs.android.shortcut.gradle)
|
|
|
|
classpath(libs.google.services.gradle)
|
2022-04-23 10:52:19 -04:00
|
|
|
classpath(libs.aboutLibraries.gradle)
|
2022-03-04 09:58:31 -05:00
|
|
|
classpath(kotlinx.serialization.gradle)
|
2022-05-26 22:11:08 -04:00
|
|
|
classpath(libs.sqldelight.gradle)
|
2022-03-04 09:58:31 -05:00
|
|
|
}
|
2020-01-28 22:48:02 -05:00
|
|
|
}
|
2015-09-24 11:27:43 -04:00
|
|
|
|
2022-03-04 09:58:31 -05:00
|
|
|
plugins {
|
|
|
|
alias(androidx.plugins.application) apply false
|
|
|
|
alias(androidx.plugins.library) apply false
|
2022-10-04 09:22:55 -04:00
|
|
|
alias(androidx.plugins.test) apply false
|
2022-03-04 09:58:31 -05:00
|
|
|
alias(kotlinx.plugins.android) apply false
|
|
|
|
alias(libs.plugins.kotlinter)
|
2020-04-25 14:30:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
2022-03-04 09:58:31 -05:00
|
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
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
|
|
|
|
2022-08-18 14:06:32 -04:00
|
|
|
disabledRules = arrayOf(
|
|
|
|
"experimental:argument-list-wrapping", // Doesn't play well with Android Studio
|
|
|
|
"filename", // Often broken to give a more general name
|
|
|
|
)
|
2020-04-25 14:30:14 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 09:58:31 -05:00
|
|
|
tasks.register<Delete>("clean") {
|
2020-01-28 22:48:02 -05:00
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|