forked from Heapy/awesome-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
56 lines (43 loc) · 1.3 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
alias(libs.plugins.kt.jvm)
}
application {
mainClass.set("link.kotlin.scripts.Application")
}
repositories {
mavenCentral()
maven { url = uri("https://repo.kotlin.link") }
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
dependencies {
implementation(libs.kotlin.stdlib)
implementation(libs.kotlin.reflect)
implementation(libs.kotlin.coroutines)
implementation(libs.jackson.module.kotlin)
implementation(libs.jackson.datatype.jsr310)
implementation(libs.jackson.dataformat.xml)
implementation(libs.slf4j.api)
implementation(libs.logback)
implementation(libs.rome)
implementation(libs.sitemapgen4j)
implementation(libs.jsoup)
implementation(libs.kotlin.scripting.common)
implementation(libs.kotlin.scripting.jvm)
implementation(libs.kotlin.scripting.jvm.host)
implementation(libs.commonmark)
implementation(libs.commonmark.ext.gfm.tables)
implementation(libs.ktor.client.apache)
implementation(libs.ktor.client.jackson)
testImplementation(libs.mockk)
testImplementation(libs.junit.api)
testRuntimeOnly(libs.junit.engine)
}