Skip to content

Commit

Permalink
Shadow mXparser so we don't need to distribute it as a separate file (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickMG authored Jan 29, 2025
1 parent b0f8c4e commit c9fe98e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
dependencies {
api("com.github.GTNewHorizons:GTNHLib:0.6.8:dev")

implementation('org.mariuszgromada.math:MathParser.org-mXparser:6.1.0')
shadowImplementation('org.mariuszgromada.math:MathParser.org-mXparser:6.1.0')

compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.7.27-GTNH:dev")
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.6.23:dev") { transitive = false }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ forceEnableMixins = false

# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated into your jar. It is your
# responsibility to check the license and request permission for distribution if required.
usesShadowedDependencies = false
usesShadowedDependencies = true

# If disabled, won't remove unused classes from shadowed dependencies. Some libraries use reflection to access
# their own classes, making the minimization unreliable.
Expand Down

0 comments on commit c9fe98e

Please sign in to comment.