Skip to content

Commit 0d13259

Browse files
author
david
committed
Remove hangar4j dependency, add custom logic
Removed the JitPack repository and the hangar4j dependency from both paper and version-checker modules. Added a new dependency on Gson in the version-checker module to support the custom logic implementation.
1 parent 2770aca commit 0d13259

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

paper/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ version = "1.4.1"
1616

1717
repositories {
1818
mavenCentral()
19-
maven("https://jitpack.io")
2019
maven("https://repo.papermc.io/repository/maven-public/")
2120
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
2221
}
@@ -27,7 +26,6 @@ dependencies {
2726
compileOnly(project(":annotations"))
2827

2928
api(project(":version-checker"))
30-
api("com.github.xmrafonso:hangar4j:1.2.2")
3129

3230
annotationProcessor("org.projectlombok:lombok:1.18.34")
3331
}

version-checker/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ version = "1.0.1"
1616

1717
repositories {
1818
mavenCentral()
19-
maven("https://jitpack.io")
2019
}
2120

2221
dependencies {
2322
compileOnly("org.projectlombok:lombok:1.18.34")
2423
compileOnly("org.jetbrains:annotations:24.1.0")
2524
compileOnly(project(":annotations"))
2625

27-
api("com.github.xmrafonso:hangar4j:1.2.2")
26+
api("com.google.code.gson:gson:2.11.0")
2827

2928
testImplementation(platform("org.junit:junit-bom:5.10.0"))
3029
testImplementation("org.junit.jupiter:junit-jupiter")

0 commit comments

Comments
 (0)