-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
91 lines (63 loc) · 1.88 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import io.ktor.plugin.features.*
plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
alias(libs.plugins.kotlin)
alias(libs.plugins.dockerCompose)
alias(libs.plugins.fatJar)
//Serialisation
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.dataframe)
// Apply the application plugin to add support for building a CLI application in Java.
application
id("maven-publish")
}
group = "ch.empa"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
ivy {
url = uri("https://sissource.ethz.ch/openbis/openbis-public/openbis-ivy/-/raw/main/")
patternLayout {
artifact("[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]")
ivy("[organisation]/[module]/[revision]/ivy.xml")
}
}
dependencies {
testImplementation(kotlin("test"))
// Align versions of all Kotlin components
implementation(libs.kotlin.bom)
// Use the Kotlin JDK 8 standard library.
implementation(libs.kotlin.stdlib)
// Use the Kotlin test library.
implementation(libs.kotlin.test)
// Use the Kotlin JUnit integration.
implementation(libs.kotlin.test.junit)
//Openbis v3 API
implementation(libs.openbis)
//implementation(libs.openbis.common)
//implementation(libs.openbis.commonbase)
implementation(libs.kotlinx.serialization)
implementation(libs.kotlinx.datetime)
implementation(libs.kotlinx.dataframe)
implementation(libs.kotlinx.coroutines)
//Lets plot
implementation(libs.kotlinx.letsplot.jfx)
implementation(libs.kotlinx.letsplot.jvm)
//Command line
implementation(libs.kotlinx.cli)
}
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(18)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(18))
}
}
application {
mainClass.set("MainKt")
}