Skip to content

Commit

Permalink
Fixed bukkit classes being relocated causing the plugin to fail to load
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgeiss0702 committed Nov 23, 2023
1 parent 64972cf commit 81e3e9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ tasks.shadowJar {
relocate("com.squareup", "us.ajg0702.leaderboards.libs")
relocate("okhttp3", "us.ajg0702.leaderboards.libs.okhttp3")
relocate("okio", "us.ajg0702.leaderboards.libs.okio")
relocate("org", "us.ajg0702.leaderboards.libs")
relocate("org.intellij", "us.ajg0702.leaderboards.libs.intellij")
relocate("org.jetbrains", "us.ajg0702.leaderboards.libs.jetbrains")
relocate("kotlin", "us.ajg0702.leaderboards.kotlin")

archiveBaseName.set("ajLeaderboards")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public void testMatches() throws Exception {
"1:2:3.4",
"11:22:33:44",
"11:22:33.44",
"12:3:15.735"
"12:3:15.735",
"00:02:30.95"
);
List<String> shouldNotMatch = Arrays.asList(
"hello there",
Expand Down

0 comments on commit 81e3e9e

Please sign in to comment.