-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (44 loc) · 1.22 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
plugins {
kotlin("multiplatform")
`maven-publish`
}
group = "fi.papinkivi"
version = "2.1.0"
repositories {
mavenCentral()
}
kotlin {
jvm {
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}
}
sourceSets {
val commonMain by getting {
dependencies {
implementation("io.github.microutils:kotlin-logging:_")
}
}
val commonTest by getting {
dependencies {
implementation(Testing.kotest.runner.junit5)
runtimeOnly("ch.qos.logback:logback-classic:_")
runtimeOnly("org.codehaus.janino:janino:_")
}
}
val jvmMain by getting {
dependencies {
implementation("com.fazecast:jSerialComm:_")
runtimeOnly("ch.qos.logback:logback-classic:_")
runtimeOnly("org.codehaus.janino:janino:_")
}
}
val jvmTest by getting {
dependencies {
implementation(Testing.kotest.runner.junit5)
runtimeOnly("ch.qos.logback:logback-classic:_")
runtimeOnly("org.codehaus.janino:janino:_")
}
}
}
}