-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
33 lines (29 loc) · 883 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
plugins {
alias(libs.plugins.multiplatform).apply(false)
alias(libs.plugins.compose).apply(false)
alias(libs.plugins.kotlin.compose).apply(false)
alias(libs.plugins.android.application).apply(false)
alias(libs.plugins.android.library).apply(false)
alias(libs.plugins.kotlin.jvm).apply(false)
alias(libs.plugins.kotlin.serialization).apply(false)
alias(libs.plugins.maven.publish)
alias(libs.plugins.spotless)
}
allprojects {
apply(plugin = "com.diffplug.spotless")
spotless {
kotlin {
target("**/*.kt")
targetExclude("${layout.buildDirectory}/**/*.kt")
targetExclude("bin/**/*.kt")
}
kotlinGradle {
target("**/*.kts")
targetExclude("${layout.buildDirectory}/**/*.kts")
ktlint()
}
}
}
extra.apply {
set("jvmTarget", "11")
}