-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
33 lines (28 loc) · 916 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
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnLockMismatchReport
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension
plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.spotless)
}
group = "ca.derekellis.reroute"
version = "1.0-SNAPSHOT"
spotless {
kotlin {
target("**/*.kt", "**/*.kts")
targetExclude("**/build/generated/**/*.*")
ktlint(libs.versions.ktlint.get()).editorConfigOverride(
mapOf(
"indent_size" to "2",
"ktlint_package-name" to "disabled",
),
)
trimTrailingWhitespace()
endWithNewline()
}
}
plugins.withType(YarnPlugin::class.java) {
the<YarnRootExtension>().yarnLockMismatchReport = YarnLockMismatchReport.WARNING
}