This repository has been archived by the owner on Jul 17, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
88 lines (70 loc) · 2.13 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
79
80
81
82
83
84
85
86
87
88
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
group = "dev.vdbroek"
version = Versions.jeanne
plugins {
application
kotlin("jvm") version Versions.kotlin
id("com.github.johnrengelman.shadow") version Versions.shadow
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}")
}
}
application {
mainClassName = "$group.${rootProject.name}.Jeanne"
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = Versions.jvmTarget
}
compileTestKotlin {
kotlinOptions.jvmTarget = Versions.jvmTarget
}
test {
useJUnit()
}
@Suppress("UnstableApiUsage")
named<ShadowJar>("shadowJar") {
archiveBaseName.set(rootProject.name)
archiveClassifier.set("")
archiveVersion.set(Versions.jeanne)
destinationDirectory.set(file("build/libs"))
mergeServiceFiles()
manifest {
attributes(mapOf("Main-Class" to "dev.vdbroek.jeanne.Jeanne"))
}
}
}
defaultTasks("run")
repositories {
mavenCentral()
jcenter()
maven(url = "https://jitpack.io")
}
dependencies {
implementation(kotlin("stdlib"))
implementation(kotlin("stdlib-jdk8"))
implementation(Dependencies.Fuel.Result.core)
implementation(Dependencies.Fuel.Result.coroutines)
implementation(Dependencies.Kotlin.reflect)
implementation(Dependencies.KotlinX.Coroutines.core)
implementation(Dependencies.KotlinX.Coroutines.jdk8)
implementation(Dependencies.Logging.slf4j)
implementation(Dependencies.Logging.Logback.core)
implementation(Dependencies.Logging.Logback.classic)
implementation(Dependencies.azurlane)
implementation(Dependencies.jda)
implementation(Dependencies.klaxon)
implementation(Dependencies.kmongo)
implementation(Dependencies.mordant)
implementation(Dependencies.reflections)
implementation(Dependencies.toml4j)
implementation(Dependencies.webhooks)
implementation(Dependencies.weeb4j) // Unmaitained
testImplementation(Dependencies.Test.junit)
}