-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
181 lines (163 loc) · 7.4 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
@file:Suppress("SpellCheckingInspection")
val parchmentVersion: String by project
val edenApiVersion: String by project
plugins {
`java-library`
`maven-publish`
id("io.freefair.lombok") version "8.11"
id("com.gradleup.shadow") version "8.3.0"
id("io.papermc.paperweight.userdev") version "2.0.0-SNAPSHOT"
}
repositories {
mavenLocal {
content {
includeGroup("gg.projecteden")
includeGroup("net.coreprotect")
}
}
mavenCentral()
maven { url = uri("https://sonatype.projecteden.gg/repository/maven-public/") }
maven { url = uri("https://jitpack.io") }
maven { url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") }
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
maven { url = uri("https://repo.onarandombox.com/content/groups/public/") }
maven { url = uri("https://repo.aikar.co/content/groups/aikar/") }
maven {
url = uri("https://ci.athion.net/job/FastAsyncWorldEdit/ws/mvn/")
content { includeGroup("com.fastasyncworldedit") }
}
maven {
url = uri("https://repo.inventivetalent.org/content/groups/public/")
content { includeGroup("org.inventivetalent") }
}
maven { url = uri("https://repo.codemc.io/repository/maven-public/") }
maven { url = uri("https://repo.codemc.io/repository/maven-releases/") }
maven { url = uri("https://repo.codemc.io/repository/maven-snapshots/") }
maven { url = uri("https://maven.citizensnpcs.co/repo") }
maven { url = uri("https://repo.md-5.net/content/groups/public/") }
maven { url = uri("https://repo.viaversion.com") }
maven { url = uri("https://maven.enginehub.org/repo/") }
maven { url = uri("https://eldonexus.de/repository/maven-public/") }
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
maven { url = uri("https://nexus.neetgames.com/repository/maven-releases/") }
maven { url = uri("https://repo.phoenix616.dev/") }
// maven { url = uri("https://ci.ender.zone/plugin/repository/everything/") }
// maven { url = uri("https://ci.ender.zone/plugin/repository/project/") }
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") }
maven { url = uri("https://repo.repsy.io/mvn/quantiom/minecraft") }
// maven("https://repo.mineinabyss.com/releases") // PlayerAnimator
}
dependencies {
paperweight.paperDevBundle("${parchmentVersion}", "gg.projecteden.parchment")
compileOnly("gg.projecteden.parchment:parchment-api:${parchmentVersion}")
implementation("gg.projecteden:eden-common:${edenApiVersion}")
implementation("gg.projecteden:eden-db:${edenApiVersion}")
implementation("gg.projecteden:eden-discord:${edenApiVersion}")
implementation("org.objenesis:objenesis:3.2")
implementation("org.checkerframework:checker-qual:3.32.0")
implementation("com.github.ProjectEdenGG:norm:0843afb4e5")
implementation("mysql:mysql-connector-java:8.0.33")
implementation("dev.morphia.morphia:core:1.6.2-SNAPSHOT")
implementation("org.slf4j:slf4j-api:2.0.5")
implementation("it.sauronsoftware.cron4j:cron4j:2.2.5")
implementation("com.github.instagram4j:instagram4j:2.0.7")
implementation("org.twitter4j:twitter4j-core:4.1.2")
implementation("com.github.twitch4j:twitch4j:1.18.0")
implementation("com.google.api-client:google-api-client:2.2.0")
implementation("com.google.oauth-client:google-oauth-client-jetty:1.34.1")
implementation("com.google.apis:google-api-services-sheets:v4-rev20221216-2.0.0")
implementation("com.github.mpkorstanje:simmetrics-core:4.1.1")
implementation("org.jetbrains:annotations:24.0.1")
implementation("net.jthink:jaudiotagger:3.0.1")
implementation("fr.skytasul:glowingentities:1.4.3")
compileOnly("gg.projecteden.crates:api:1.0.7-SNAPSHOT")
compileOnly("tech.blastmc.holograms:HologramsAPI:1.1.0-SNAPSHOT")
compileOnly("fr.moribus:ImageOnMap:4.3.1-EDEN")
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
compileOnly("net.luckperms:api:5.4")
compileOnly("com.sk89q.worldguard:worldguard-core:7.0.6-SNAPSHOT")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.6-SNAPSHOT")
compileOnly("com.onarandombox.multiversecore:Multiverse-Core:3.0.0")
compileOnly("com.onarandombox.multiverseinventories:Multiverse-Inventories:3.0.0")
compileOnly("com.dumptruckman.minecraft:JsonConfiguration:1.1")
compileOnly("net.minidev:json-smart:2.4.10")
compileOnly("de.tr7zw:item-nbt-api-plugin:2.14.1")
compileOnly("com.comphenix.protocol:ProtocolLib:4.7.0")
compileOnly("com.github.koca2000:NoteBlockAPI:1.4.4")
compileOnly("com.github.BlueMap-Minecraft:BlueMapAPI:v1.3.1")
compileOnly("com.arcaniax:HeadDatabase-API:1.3.1")
compileOnly("com.viaversion:viaversion-api:5.2.2-SNAPSHOT")
compileOnly("com.github.jikoo.OpenInv:openinvapi:5.1.5")
compileOnly("world.bentobox:bentobox:1.20.1-SNAPSHOT")
compileOnly("nl.pim16aap2:BigDoors:0.1.8.39")
compileOnly("net.coreprotect:CoreProtect:22.3.1")
compileOnly("com.magmaguy:BetterStructures:1.4.1-SNAPSHOT")
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.12.4-SNAPSHOT")
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.12.4-SNAPSHOT") { isTransitive = false }
compileOnly("com.griefcraft:lwc:2.3.2-dev")
compileOnly("net.citizensnpcs:citizensapi:2.0.37-SNAPSHOT")
compileOnly("net.citizensnpcs:citizens-main:2.0.37-SNAPSHOT") {
exclude("*", "*")
}
compileOnly("LibsDisguises:LibsDisguises:10.0.31") {
exclude("org.spigotmc", "spigot-api")
exclude("org.spigotmc", "spigot")
}
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.2.004@jar") {
exclude("com.sk89q.worldedit", "worldedit-core")
exclude("com.sk89q.worldedit.worldedit-libs", "core")
}
compileOnly("world.bentobox:aoneblock:1.17.0-SNAPSHOT")
compileOnly(files("libs/BuycraftX.jar"))
compileOnly(files("libs/nuvotifier-universal-2.3.4.jar"))
compileOnly("org.projectlombok:lombok:1.18.36")
annotationProcessor("org.projectlombok:lombok:1.18.36")
// implementation("com.ticxo:PlayerAnimator:R1.2.7")
}
group = "gg.projecteden"
description = "Nexus"
version = "2.0.0"
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
assemble {
dependsOn(shadowJar)
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(21)
options.compilerArgs.add("-parameters")
options.compilerArgs.add("-proc:full")
}
javadoc { options.encoding = Charsets.UTF_8.name() }
processResources {
filteringCharset = Charsets.UTF_8.name()
filesMatching("plugin.yml") {
expand("version" to project.version)
}
}
// shadowJar {
// exclude("**/*.png")
// exclude("**/*.txt")
// exclude("lombok/**")
// exclude("**/*.lombok")
// exclude("META-INF/**")
// exclude("kotlin/**")
//
// minimize {
// // Force include dependencies
// exclude("com.github.benmanes:caffeine:.*")
// }
// }
shadowJar {
archiveClassifier.set("")
exclude("gg/projecteden/api/interfaces/**")
}
}