-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
53 lines (43 loc) · 1.51 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
plugins {
val kotlinVersion = "1.9.20"
kotlin("jvm") version kotlinVersion
kotlin("plugin.allopen") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("com.github.johnrengelman.shadow") version "8.1.1"
application
}
group = "com.github.doip-sim-ecu" // Change this to your organization
version = "0.1.0-SNAPSHOT"
repositories {
// mavenLocal()
mavenCentral()
// maven("https://jitpack.io") for branches/snapshot versions
}
dependencies {
implementation(kotlin("stdlib"))
val ktorVersion = "2.3.5"
// You should use the latest released stable version
implementation("io.github.doip-sim-ecu:doip-sim-ecu-dsl:0.11.0")
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-server-cio:$ktorVersion")
implementation("io.ktor:ktor-serialization:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
implementation("ch.qos.logback:logback-classic:1.4.11")
testImplementation(kotlin("test"))
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
testImplementation("org.mockito.kotlin:mockito-kotlin:5.1.0")
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.27.0")
}
project.setProperty("mainClassName", "MainKt")
tasks {
application {
mainClass.set("MainKt")
}
}
allOpen {
annotation("kotlinx.serialization.Serializable")
}
kotlin {
jvmToolchain(8)
}