mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-06 02:35:25 +08:00
feat: support compose multiplatform
This commit is contained in:
@@ -1,23 +1,6 @@
|
||||
import com.diffplug.gradle.spotless.SpotlessPlugin
|
||||
import io.gitlab.arturbosch.detekt.DetektPlugin
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.android.library) apply false
|
||||
alias(libs.plugins.kotlin) apply false
|
||||
alias(libs.plugins.detekt)
|
||||
alias(libs.plugins.spotless)
|
||||
alias(libs.plugins.mavenpublish)
|
||||
}
|
||||
|
||||
configure(subprojects) {
|
||||
apply<DetektPlugin>()
|
||||
apply<SpotlessPlugin>()
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
target("**/*.kt")
|
||||
ktlint("0.43.2")
|
||||
}
|
||||
}
|
||||
}
|
||||
autowire(libs.plugins.kotlin.multiplatform) apply false
|
||||
autowire(libs.plugins.android.application) apply false
|
||||
autowire(libs.plugins.android.library) apply false
|
||||
autowire(libs.plugins.jetbrains.compose) apply false
|
||||
}
|
Reference in New Issue
Block a user