-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
36 lines (31 loc) · 923 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
34
35
36
import java.util.Properties
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.jetbrains.dokka) apply false
alias(libs.plugins.devPetsuka.npmPublish) apply false
alias(libs.plugins.ktor) apply false
alias(libs.plugins.kotlinx.kover)
}
group = property("group").toString()
version = property("version").toString()
tasks.wrapper {
gradleVersion = "8.4"
distributionType = Wrapper.DistributionType.ALL
}
dependencies {
kover(project(":mahjong-utils"))
kover(project(":mahjong-utils-entry"))
}
val envPropFile = file("env.properties")
if (envPropFile.exists()) {
val props = Properties().apply {
envPropFile.reader().use { rd ->
load(rd)
}
}
props.forEach { (k, v) ->
extra.set(k.toString(), v)
}
}