mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-30 01:15:05 -05:00
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
buildscript {
|
|
dependencies {
|
|
// 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)
|
|
classpath(libs.sqldelight.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)
|
|
}
|