forked from JetBrains/lets-plot
/
build.gradle
54 lines (47 loc) · 1.43 KB
/
build.gradle
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
52
53
54
plugins {
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.gradle.plugin.idea-ext"
}
/*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
kotlin {
jvm()
jvm("jvmBrowser")
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib-common')
implementation project(':base-portable')
implementation project(':plot-image-export')
implementation project(':plot-demo-common')
implementation project(':vis-demo-common')
}
}
allJvm {
dependencies {
implementation kotlin('stdlib-jdk8')
compileOnly "io.github.microutils:kotlin-logging-jvm:$kotlinLogging_version"
implementation "org.slf4j:slf4j-simple:$slf4j_version" // Enable logging to console
}
}
jvmMain {
dependsOn allJvm
}
jvmBrowserMain {
dependsOn allJvm
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-html-jvm:${kotlinx_html_version}"
}
}
}
}
idea {
module {
settings {
packagePrefix["src/jvmMain/kotlin"] = "jetbrains.datalore"
packagePrefix["src/jvmBrowserMain/kotlin"] = "jetbrains.datalore"
}
}
}