Skip to content

Commit

Permalink
exclude rsa, sf signature jar signing
Browse files Browse the repository at this point in the history
  • Loading branch information
minhh2792 committed Jan 17, 2025
1 parent e2ec542 commit 23cfca9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ allprojects {
// ohthers
implementation("com.google.code.gson:gson:2.10.1")
implementation("com.cronutils:cron-utils:9.2.1")
implementation("at.favre.lib:bcrypt:0.10.2")

// JUnit
testImplementation(platform("org.junit:junit-bom:5.9.2"))
Expand Down
Binary file removed libs/bcrypt-0.10.2.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion minevnlib-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ dependencies {
implementation(project(":minevnlib-bukkit"))
implementation(project(":minevnlib-bungee"))
implementation("net.wesjd:anvilgui:1.10.4-SNAPSHOT")
implementation("at.favre.lib:bcrypt:0.10.2")
}

val sourcesJar by tasks.registering(Jar::class) {
Expand Down Expand Up @@ -64,6 +63,7 @@ tasks {
relocate("com.cryptomorin.xseries", "net.minevn.libs.xseries")
relocate("com.cronutils", "net.minevn.libs.cronutils")
exclude("META-INF/versions/21/org/h2/util/Utils21.class")
exclude("META-INF/*.RSA", "META-INF/*.DSA", "META-INF/*.SF")
}

// shadow with kotlin
Expand Down

0 comments on commit 23cfca9

Please sign in to comment.