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