Skip to content

Commit 297d0e4

Browse files
authored
Migrate Vault and emoji-java dependencies away from Jitpack (#6458)
Jitpack is down. Move dependencies to our own repo to remove the build-time dependency on Jitpack.
1 parent 9c83333 commit 297d0e4

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

Essentials/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
dependencies {
6-
compileOnly('com.github.milkbowl:VaultAPI:1.7') {
6+
compileOnly('net.essentialsx.deps:VaultAPI:1.7') {
77
exclude group: "org.bukkit", module: "bukkit"
88
}
99
compileOnly 'net.luckperms:api:5.3'

EssentialsDiscord/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies {
77
implementation('net.dv8tion:JDA:6.0.0') {
88
exclude(module: 'opus-java')
99
}
10-
implementation 'com.github.MinnDevelopment:emoji-java:v6.1.0'
10+
implementation 'net.essentialsx.deps:emoji-java:v6.1.0'
1111
implementation('club.minnced:discord-webhooks:0.8.4') {
1212
exclude(module: 'okhttp')
1313
}

settings.gradle.kts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
dependencyResolutionManagement {
22
repositories {
3-
maven("https://maven-prs.papermc.io/Paper/pr13194") {
4-
name = "Maven for PR #13194" // https://github.com/PaperMC/Paper/pull/13194
5-
mavenContent {
6-
includeModule("io.papermc.paper", "paper-api")
7-
}
8-
}
93
maven("https://repo.papermc.io/repository/maven-public/")
104
maven("https://hub.spigotmc.org/nexus/content/groups/public/") {
115
content {
126
includeGroup("org.spigotmc")
137
includeGroup("net.md_5")
148
}
159
}
16-
maven("https://jitpack.io") {
10+
maven("https://repo.essentialsx.net/releases") {
1711
content {
18-
includeGroup("com.github.milkbowl")
19-
includeGroup("com.github.MinnDevelopment")
12+
includeGroup("net.essentialsx.deps")
2013
}
2114
}
2215
maven("https://repo.codemc.org/repository/maven-public") {

0 commit comments

Comments
 (0)