-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (38 loc) · 1.02 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
plugins {
kotlin("jvm") version "1.8.10"
kotlin("plugin.serialization") version "1.8.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
application
}
group = "me.beresnev"
version = "unused, run with -v or --version instead"
kotlin {
jvmToolchain(8)
}
application {
mainClass.set("me.beresnev.downloader.periscope.MainKt")
}
tasks.jar {
enabled = false // shadowJar instead
}
tasks.shadowJar {
archiveBaseName.set("periscope-chat-downloader")
// don't want any more noise
archiveClassifier.set("")
archiveVersion.set("")
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
implementation("io.ktor:ktor-client-core:2.3.0")
implementation("io.ktor:ktor-client-cio:2.3.0")
implementation("org.jsoup:jsoup:1.16.1")
// silence warning message, don't need logging
implementation("org.slf4j:slf4j-nop:1.7.36")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}