aniyomi/build.gradle.kts

35 lines
905 B
Text
Raw Normal View History

buildscript {
dependencies {
classpath(libs.android.shortcut.gradle)
classpath(libs.google.services.gradle)
classpath(libs.aboutLibraries.gradle)
classpath(kotlinx.serialization.gradle)
classpath(libs.sqldelight.gradle)
}
}
2015-09-24 18:27:43 +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 {
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
2020-04-25 21:30:14 +03:00
kotlinter {
experimentalRules = true
2021-04-12 01:16:15 +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
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}