mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-26 23:28:58 +03:00
31 lines
780 B
Text
31 lines
780 B
Text
buildscript {
|
|
dependencies {
|
|
classpath(libs.android.shortcut.gradle)
|
|
classpath(libs.google.services.gradle)
|
|
classpath(libs.aboutlibraries.gradle)
|
|
classpath(kotlinx.serialization.gradle)
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|
|
|
|
subprojects {
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
|
|
|
kotlinter {
|
|
experimentalRules = true
|
|
|
|
// Doesn't play well with Android Studio
|
|
disabledRules = arrayOf("experimental:argument-list-wrapping")
|
|
}
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.buildDir)
|
|
}
|