forked from Heapy/awesome-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
58 lines (45 loc) · 1.36 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm").version(kotlinVersion)
}
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"
languageVersion = "1.4"
}
}
dependencies {
implementation(stdlib)
implementation(reflect)
implementation(coroutines)
implementation(jacksonXml)
implementation(jacksonKotlin)
implementation(jacksonJsr310)
implementation("org.slf4j:slf4j-api:1.7.30")
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("io.sentry:sentry-logback:1.7.30")
implementation("com.rometools:rome:1.15.0")
implementation("com.github.dfabulich:sitemapgen4j:1.1.2")
implementation("org.jsoup:jsoup:1.13.1")
implementation(kotlin("scripting-common"))
implementation(kotlin("scripting-jvm"))
implementation(kotlin("scripting-jvm-host"))
implementation(commonmark)
implementation(commonmarkExtGfmTables)
implementation(ktorClientApache)
implementation(ktorClientJackson)
testImplementation(mockk)
testImplementation(junitApi)
testRuntimeOnly(junitEngine)
}