forked from kotakotik22/Handy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
49 lines (41 loc) · 1.32 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.32"
id("com.github.johnrengelman.shadow") version "6.1.0"
kotlin("plugin.serialization") version "1.5.21"
}
group = "com.kotakotik"
version = "1.0.0"
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.eclipse.org/content/groups/releases")
}
dependencies {
testImplementation(kotlin("test-junit"))
implementation("org.javacord:javacord:3.3.2");
implementation(kotlin("script-runtime"))
implementation("org.reflections:reflections:0.9.12")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
api("com.github.TheRandomLabs:CurseAPI:master-SNAPSHOT")
runtimeOnly("com.google.code.gson:gson:2.8.7")
implementation("org.eclipse.mylyn.github:org.eclipse.egit.github.core:5.9.0.202009080501-r")
implementation(kotlin("reflect"))
implementation("io.ktor:ktor-client-core:1.6.3")
implementation("io.ktor:ktor-client-cio:1.6.3")
implementation("io.ktor:ktor-client-gson:1.6.3")
implementation("io.ktor:ktor-client-mock:1.6.3")
}
tasks.test {
useJUnit()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
tasks.jar {
manifest {
attributes(
"Main-Class" to "handy.Handy"
)
}
}