Skip to content

Commit

Permalink
Include dependency instead of shadowing it
Browse files Browse the repository at this point in the history
  • Loading branch information
Boxadactle committed Aug 26, 2023
1 parent 58127b3 commit 827f4dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ dependencies {

// very nice zip library
implementation("net.lingala.zip4j:zip4j:${rootProject.zip4j_version}")
forgeDependencies(shadowCommon("net.lingala.zip4j:zip4j:${rootProject.zip4j_version}"))
forgeDependencies(include("net.lingala.zip4j:zip4j:${rootProject.zip4j_version}"))

modApi("dev.boxadactle.boxlib:BoxLib-forge:${rootProject.boxlib_version}")
include("dev.boxadactle.boxlib:BoxLib-forge:${rootProject.boxlib_version}")
}

shadowJar {
/*shadowJar {
relocate "net.lingala.zip4j", "${rootProject.maven_group}.mcshare.shadow.net.lingala.zip4j"
configurations = [project.configurations.shadowCommon]
classifier "shadow"
}
}*/

processResources {
inputs.property "version", project.version
Expand Down

0 comments on commit 827f4dc

Please sign in to comment.