-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle.kts
52 lines (41 loc) · 1.31 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
plugins {
java
id("com.gradleup.shadow") version "8.3.5"
id("io.freefair.lombok") version "8.11"
}
group = "me.tecnio"
version = "4.0.3"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.aikar.co/content/groups/aikar/")
maven("https://nexus.funkemunky.cc/content/repositories/releases/")
}
dependencies {
compileOnly("org.github.spigot:1.8.8:1.8.8")
implementation("com.github.artemisac.artemis-packet-api:api:2.0.0-beta-3")
implementation("com.github.artemisac.artemis-packet-api:spigot:2.0.0-beta-3")
implementation("co.aikar:acf-paper:0.5.1-SNAPSHOT")
implementation("org.bstats:bstats-bukkit:3.1.0")
}
tasks.shadowJar {
archiveFileName = "AntiHaxerman.jar"
minimize()
relocate("org.atteo.classindex", "me.tecnio.ahm.libs.classindex")
relocate("co.aikar", "me.tecnio.ahm.libs.aikar")
relocate("org.bstats", "me.tecnio.ahm.libs.bstats")
relocate("ac.artemis.packet", "me.tecnio.ahm.libs.artemis")
relocate("cc.ghast.packet", "me.tecnio.ahm.libs.ghast")
relocate("com.github.steveice10.opennbt", "me.tecnio.ahm.libs.opennbt")
}
tasks.build {
dependsOn(tasks.shadowJar)
}