-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
53 lines (44 loc) · 1.69 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.4.21"
id("com.github.johnrengelman.shadow") version "5.1.0"
}
group = "net.savagelabs"
version = "1.0.3"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
maven("https://nexus.savagelabs.net/repository/maven-releases/")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
maven("https://jitpack.io")
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.0")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.1")
implementation("com.cryptomorin:XSeries:6.0.0")
implementation("me.rayzr522:jsonmessage:1.2.0")
implementation("com.github.MinusKube:SmartInvs:master-SNAPSHOT")
implementation("com.deanveloper:skullcreator:2.0.0")
implementation("org.litote.kmongo:kmongo-coroutine:4.0.2")
implementation("org.yaml:snakeyaml:1.26")
implementation(project(":SavagePluginX"))
compileOnly("org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT")
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
val build by existing {
dependsOn(shadowJar)
}
val shadowJar = named<ShadowJar>("shadowJar") {
relocate("org.yaml", "net.savagelabs.shade.snake-yaml")
exclude("META-INF/*.DSA")
exclude("META-INF/*.RSA")
archiveBaseName.set("XCore")
}
}