mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-24 21:58:34 +03:00
35 lines
966 B
Text
35 lines
966 B
Text
buildscript {
|
|
dependencies {
|
|
classpath(libs.android.shortcut.gradle)
|
|
classpath(libs.google.services.gradle)
|
|
classpath(libs.google.crashlytics.gradle)
|
|
classpath(libs.aboutLibraries.gradle)
|
|
classpath(kotlinx.serialization.gradle)
|
|
classpath(libs.sqldelight.gradle)
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(androidx.plugins.application) apply false
|
|
alias(androidx.plugins.library) apply false
|
|
alias(androidx.plugins.test) apply false
|
|
alias(kotlinx.plugins.android) apply false
|
|
alias(libs.plugins.kotlinter)
|
|
}
|
|
|
|
subprojects {
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
|
|
|
kotlinter {
|
|
experimentalRules = true
|
|
|
|
disabledRules = arrayOf(
|
|
"experimental:argument-list-wrapping", // Doesn't play well with Android Studio
|
|
"filename", // Often broken to give a more general name
|
|
)
|
|
}
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.buildDir)
|
|
}
|