2022-03-04 17:58:31 +03:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
|
|
|
classpath(libs.android.shortcut.gradle)
|
|
|
|
classpath(libs.google.services.gradle)
|
2022-04-23 17:52:19 +03:00
|
|
|
classpath(libs.aboutLibraries.gradle)
|
2022-03-04 17:58:31 +03:00
|
|
|
classpath(kotlinx.serialization.gradle)
|
2022-05-27 05:11:08 +03:00
|
|
|
classpath(libs.sqldelight.gradle)
|
2022-03-04 17:58:31 +03:00
|
|
|
}
|
2020-01-29 06:48:02 +03:00
|
|
|
}
|
2015-09-24 18:27:43 +03:00
|
|
|
|
2022-03-04 17:58:31 +03:00
|
|
|
plugins {
|
|
|
|
alias(androidx.plugins.application) apply false
|
|
|
|
alias(androidx.plugins.library) apply false
|
|
|
|
alias(kotlinx.plugins.android) apply false
|
|
|
|
alias(libs.plugins.kotlinter)
|
|
|
|
alias(libs.plugins.versionsx)
|
2020-04-25 21:30:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
2022-03-04 17:58:31 +03:00
|
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
2020-04-25 21:30:14 +03:00
|
|
|
|
2020-09-14 01:48:20 +03:00
|
|
|
kotlinter {
|
|
|
|
experimentalRules = true
|
2021-04-12 01:16:15 +03:00
|
|
|
|
2022-08-18 21:06:32 +03: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 21:30:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 17:58:31 +03:00
|
|
|
tasks.register<Delete>("clean") {
|
2020-01-29 06:48:02 +03:00
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|