This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (51 loc) · 2.02 KB
/
build.gradle
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
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.0"
}
group = 'dev.rollczi'
version = '1.0.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url "https://repo.panda-lang.org/releases" }
maven { url "https://papermc.io/repo/repository/maven-public/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url "https://repo.mattstudios.me/artifactory/public/" }
}
dependencies {
// Spigot API
compileOnly 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
// kyori adventure
implementation 'net.kyori:adventure-platform-bukkit:4.1.0'
implementation "net.kyori:adventure-text-minimessage:4.10.0-SNAPSHOT"
// LiteCommands
implementation "dev.rollczi.litecommands:core:1.8.4"
implementation "dev.rollczi.litecommands:bukkit:1.8.4"
// TriumphGui
implementation 'dev.triumphteam:triumph-gui:3.1.2'
// CDN
implementation 'net.dzikoysk:cdn:1.13.5'
}
compileJava.options.encoding = "UTF-8"
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
shadowJar {
archiveFileName = "LiteDeepVoid v${project.version} (MC 1.8.8-1.18).jar"
exclude "org/intellij/lang/annotations/**"
exclude "org/jetbrains/annotations/**"
exclude "javax/**"
relocate "net.dzikoysk", "dev.rollczi.litedeepvoid.libs.net.dzikoysk"
relocate "dev.rollczi.litecommands", "dev.rollczi.litedeepvoid.libs.dev.rollczi.litecommands"
relocate "dev.triumphteam", "dev.rollczi.litedeepvoid.libs.dev.triumphteam"
relocate "net.kyori.adventure.text.minimessage", "dev.rollczi.litedeepvoid.libs.net.kyori.adventure.text.minimessage"
relocate "panda", "dev.rollczi.litedeepvoid.libs.panda"
relocate "org.panda_lang", "dev.rollczi.litedeepvoid.libs.panda"
}