forked from RAIXOCZ/MineBlocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (86 loc) · 3.18 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "8.1.1"
id 'net.minecrell.plugin-yml.bukkit' version '0.5.3'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
group 'cz.raixo'
version '2.1.4'
repositories {
mavenLocal()
mavenCentral()
maven { url = 'https://jitpack.io' }
maven {
name "papermc"
url "https://papermc.io/repo/repository/maven-public/"
}
maven {
name "essentialsx-releases"
url "https://repo.essentialsx.net/releases/"
}
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url = "https://repo.minebench.de/" }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
compileOnly 'org.projectlombok:lombok:1.18.26'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
compileOnly 'io.papermc:paperlib:1.0.6'
compileOnly 'net.essentialsx:EssentialsX:2.20.1'
compileOnly 'com.github.decentsoftware-eu:decentholograms:2.5.3'
compileOnly 'me.clip:placeholderapi:2.11.1'
compileOnly 'net.luckperms:api:5.4'
compileOnly fileTree(dir: './libs', include: '*.jar')
implementation 'net.kyori:adventure-platform-bukkit:4.2.0'
implementation "co.aikar:acf-bukkit:0.5.1-SNAPSHOT"
implementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT'
implementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
runtimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
useJUnitPlatform()
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
shadowJar {
archiveFileName = "MineBlocks-${project.version}.jar"
relocate 'co.aikar.commands', 'cz.raixo.blocks.libs.acf'
relocate 'co.aikar.locales', 'cz.raixo.blocks.libs.acf.locales'
relocate 'de.themoep.minedown', 'cz.raixo.blocks.libs.minedown'
relocate 'net.kyori.adventure', 'cz.raixo.blocks.libs.adventure'
relocate 'net.kyori.examination', 'cz.raixo.blocks.libs.adventure.examination'
relocate 'org.intellij', 'cz.raixo.blocks.libs.annotations.intellij'
relocate 'org.jetbrains', 'cz.raixo.blocks.libs.annotations.jetbrains'
}
bukkit {
name = "MineBlocks"
description = "Easy to use plugin, that allows you to create \"Mine blocks\" on your server"
version = project.version
main = "cz.raixo.blocks.MineBlocksPlugin"
author = "RAIXOCZ"
website = "mb.raixo.cz"
apiVersion = "1.16"
load = "POSTWORLD"
softDepend = [
"DecentHolograms",
"PlaceholderAPI",
"LuckPerms",
"CMI",
"Essentials",
"UltraAFK",
"AFKPlus"
]
}