mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-06 02:35:25 +08:00
Update versions, add detekt and spotless
This commit is contained in:
25
build.gradle
25
build.gradle
@@ -1,15 +1,26 @@
|
||||
buildscript {
|
||||
ext {
|
||||
compose_version = "1.2.0-beta01"
|
||||
activity = "1.4.0"
|
||||
compose_version = "1.2.1"
|
||||
compose_compiler_version = "1.3.0"
|
||||
activity = "1.5.1"
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
id "com.android.application" version "7.1.1" apply false
|
||||
id "com.android.library" version "7.1.1" apply false
|
||||
id "org.jetbrains.kotlin.android" version "1.6.21" apply false
|
||||
id "com.android.application" version "7.2.0" apply false
|
||||
id "com.android.library" version "7.2.0" apply false
|
||||
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
|
||||
id "io.gitlab.arturbosch.detekt" version "1.21.0"
|
||||
id "com.diffplug.spotless" version "6.5.1"
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
configure(subprojects) {
|
||||
apply plugin: "io.gitlab.arturbosch.detekt"
|
||||
apply plugin: "com.diffplug.spotless"
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
target("**/*.kt")
|
||||
ktlint("0.43.2")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user