This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
78 lines (63 loc) · 2.24 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
// java
application
kotlin("jvm") version "1.6.0"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "com.dunctebot"
version = "1.0"
repositories {
mavenCentral()
maven {
url = uri("https://duncte123.jfrog.io/artifactory/maven")
}
maven("https://m2.dv8tion.net/releases")
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(group = "com.dunctebot", name = "dunctebot-models", version = "0.1.21")
implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.2.10")
implementation(group = "io.javalin", name = "javalin", version = "4.6.1")
implementation(group = "com.github.ben-manes.caffeine", name = "caffeine", version = "2.8.5")
implementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.13.3")
implementation(group = "com.fasterxml.jackson.module", name = "jackson-module-kotlin", version = "2.13.3")
implementation(group = "net.sf.trove4j", name = "trove4j", version = "3.0.3")
// implementation(group = "com.jagrosh", name = "jda-utilities-oauth2", version = "3.0.5")
// TODO: remove jda-utils and just pull in oauth impl
implementation(group = "com.github.JDA-Applications", name = "JDA-Utilities", version = "804d58a") {
// This is fine
exclude(module = "jda-utilities-examples")
exclude(module = "jda-utilities-doc")
exclude(module = "jda-utilities-command")
exclude(module = "jda-utilities-menu")
}
implementation(group = "net.dv8tion", name = "JDA", version = "4.3.0_298") {
exclude(module = "opus-java")
}
// webjars
implementation(group = "org.webjars.npm", name = "vue", version = "2.6.14")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
}
application {
mainClass.set("com.dunctebot.dashboard.MainKt")
}
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = "16"
}
}
wrapper {
gradleVersion = "7.0.1"
distributionType = Wrapper.DistributionType.ALL
}
shadowJar {
archiveClassifier.set("")
}
}