-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
48 lines (41 loc) · 1.16 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "2.0.20"
id("com.gradleup.shadow") version "8.3.3"
}
group = "org.koitharu"
version = "0.1"
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "org.koitharu.kotatsu.dl.MainKt"
}
}
tasks.withType<ShadowJar> {
archiveBaseName = "kotatsu-dl"
archiveClassifier = ""
archiveVersion = ""
minimize()
}
repositories {
mavenCentral()
google()
maven { setUrl("https://jitpack.io") }
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0")
implementation("com.github.ajalt.clikt:clikt-core:5.0.1")
implementation("com.github.KotatsuApp:kotatsu-parsers:764c65563b")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.squareup.okio:okio:3.9.0")
implementation("io.webfolder:quickjs:1.1.0")
implementation("org.json:json:20240303")
implementation("me.tongfei:progressbar:0.10.1")
implementation("androidx.collection:collection:1.4.4")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}