-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
120 lines (94 loc) · 3.69 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group = 'com.github.getplusm'
description = 'TheDungeons'
version = '4.0.4'
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
mavenCentral()
maven {
name = "papermc-repo"
url = "https://repo.papermc.io/repository/maven-public/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
// Holographic Displays
maven { url = 'https://repo.codemc.io/repository/maven-public/' }
maven { url = 'https://repo.fancyplugins.de/releases' }
//WorldGuard API
maven { url = 'https://maven.enginehub.org/repo/' }
// PAPI
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://jitpack.io' }
maven { url = 'https://libraries.minecraft.net/' }
maven { url = 'https://nexus.phoenixdevt.fr/repository/maven-public/' }
// griefdefender
maven { url = 'https://repo.glaremasters.me/repository/bloodshot' }
// PaF
maven { url = 'https://simonsator.de/repo/' }
// Parties
maven { url 'https://repo.alessiodp.com/releases/' }
// towny
maven { url = 'https://repo.glaremasters.me/repository/towny/' }
// ProSkillAPI
maven { url = 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
// worldedit
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.2.15-SNAPSHOT'
compileOnly 'com.sk89q.worldedit:worldedit-core:7.2.15-SNAPSHOT'
// party
compileOnly 'de.simonsator:spigot-party-api-for-party-and-friends:1.0.7-RELEASE'
compileOnly 'de.simonsator:Party-and-Friends-MySQL-Edition-Spigot-API:1.5.4-RELEASE'
compileOnly 'com.alessiodp.parties:parties-api:3.2.16'
// access
compileOnly 'studio.magemonkey:fabled:1.0.4-R0.17-SNAPSHOT'
// regions
compileOnly 'com.palmergames.bukkit.towny:towny:0.100.0.0'
compileOnly 'com.griefdefender:api:2.1.0-SNAPSHOT'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.2-SNAPSHOT'
compileOnly 'com.github.cryptomorin:kingdoms:1.16.8.1.1'
compileOnly 'com.github.getplusm:ProtectionBlocks:1.0.7'
compileOnly 'com.github.TechFortress:GriefPrevention:16.18'
compileOnly 'com.github.angeschossen:LandsAPI:6.33.10'
// holo
compileOnly 'me.filoghost.holographicdisplays:holographicdisplays-api:3.0.0'
compileOnly 'com.github.decentsoftware-eu:decentholograms:2.8.3'
compileOnly 'de.oliver:FancyHolograms:2.2.0'
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.5.0b'
compileOnly 'net.Indyuce:MMOItems-API:6.9.2-SNAPSHOT'
compileOnly 'io.lumine:MythicLib-dist:1.5.2-SNAPSHOT'
// PAPI
compileOnly 'me.clip:placeholderapi:2.11.5'
compileOnly 'com.mojang:authlib:1.5.21'
// LP
compileOnly 'net.luckperms:api:5.4'
// Engine
compileOnly 'com.github.getplusm:PLAZMER-ENGINE:2.4.10'
// Libs
compileOnly 'com.github.caseyscarborough:pastebin-api-java:0.1.3'
compileOnly 'com.cjcrafter:foliascheduler:0.6.3'
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
}
shadowJar {
archiveClassifier.set(null)
configurations = [project.configurations.runtimeClasspath, project.configurations.shadow]
archiveFileName.set(project.description + '-' + project.version + '.jar')
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}