mirror of
https://github.com/yuzono/anime-extensions.git
synced 2026-06-13 05:29:44 +00:00
* Add new gradle build logic * rework ko.wolfdotcom * rework all other extensions (cherry picked from commit 153fbece55832e8a76f32e26199bb6f8f4252fcb) --------- Co-authored-by: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com> (cherry picked from commit b030eeff0bc2e68fff2f070a86c851d950f82145) (cherry picked from commit d7ba3e81a5a0af9c91d96bee014592e991c4efd9)
23 lines
528 B
Kotlin
23 lines
528 B
Kotlin
buildscript {
|
|
dependencies {
|
|
classpath(libs.kotlin.gradle)
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.android.library) apply false
|
|
alias(libs.plugins.kotlin.serialization) apply false
|
|
|
|
alias(kei.plugins.spotless)
|
|
}
|
|
|
|
val buildLogic: IncludedBuild = gradle.includedBuild("build-logic")
|
|
tasks {
|
|
listOf("clean", "spotlessApply", "spotlessCheck").forEach { task ->
|
|
named(task) {
|
|
dependsOn(buildLogic.task(":$task"))
|
|
}
|
|
}
|
|
}
|