2022-03-04 22:58:31 +08:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
|
|
|
classpath(libs.android.shortcut.gradle)
|
|
|
|
classpath(libs.google.services.gradle)
|
|
|
|
classpath(libs.aboutlibraries.gradle)
|
|
|
|
classpath(kotlinx.serialization.gradle)
|
2022-04-22 03:45:56 +08:00
|
|
|
classpath("com.squareup.sqldelight:gradle-plugin:1.5.3")
|
2022-03-04 22:58:31 +08:00
|
|
|
}
|
2020-01-29 11:48:02 +08:00
|
|
|
}
|
2015-09-24 23:27:43 +08:00
|
|
|
|
2022-03-04 22:58:31 +08: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-26 02:30:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
2022-03-04 22:58:31 +08:00
|
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
2020-04-26 02:30:14 +08:00
|
|
|
|
2020-09-14 06:48:20 +08:00
|
|
|
kotlinter {
|
|
|
|
experimentalRules = true
|
2021-04-12 06:16:15 +08:00
|
|
|
|
|
|
|
// Doesn't play well with Android Studio
|
|
|
|
disabledRules = arrayOf("experimental:argument-list-wrapping")
|
2020-04-26 02:30:14 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 22:58:31 +08:00
|
|
|
tasks.register<Delete>("clean") {
|
2020-01-29 11:48:02 +08:00
|
|
|
delete(rootProject.buildDir)
|
|
|
|
}
|