tachiyomi/build.gradle.kts

36 lines
1.0 KiB
Plaintext
Raw Normal View History

buildscript {
dependencies {
2022-08-14 17:49:19 +02:00
// Pinning to older version of R8 due to weird forced optimizations in newer versions in
// version bundled with AGP
// https://mvnrepository.com/artifact/com.android.tools/r8?repo=google
classpath("com.android.tools:r8:3.1.66")
classpath(libs.android.shortcut.gradle)
classpath(libs.google.services.gradle)
classpath(libs.aboutlibraries.gradle)
classpath(kotlinx.serialization.gradle)
}
}
2015-09-24 17:27:43 +02: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 20:30:14 +02:00
}
subprojects {
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
2020-04-25 20:30:14 +02:00
kotlinter {
experimentalRules = true
2021-04-12 00:16:15 +02:00
// Doesn't play well with Android Studio
disabledRules = arrayOf("experimental:argument-list-wrapping")
2020-04-25 20:30:14 +02:00
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}