-
Notifications
You must be signed in to change notification settings - Fork 47
/
build.gradle.kts
51 lines (44 loc) · 1.39 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
48
49
50
51
/*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
plugins {
kotlin("multiplatform")
}
val batikVersion = extra["batik_version"] as String
kotlin {
jvm()
sourceSets {
commonMain {
dependencies {
compileOnly(project(":commons"))
compileOnly(project(":datamodel"))
compileOnly(project(":plot-stem"))
}
}
commonTest {
dependencies {
implementation(project(":commons"))
implementation(project(":datamodel"))
implementation(project(":plot-base"))
implementation(project(":plot-builder"))
implementation(project(":plot-stem"))
implementation(project(":demo-and-test-shared"))
}
}
jvmMain {
dependencies {
compileOnly(project(":platf-awt"))
compileOnly("org.apache.xmlgraphics:batik-codec:$batikVersion")
}
}
jvmTest {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-junit"))
implementation("org.apache.xmlgraphics:batik-codec:$batikVersion")
implementation(project(":platf-awt"))
}
}
}
}