Skip to content

Instantly share code, notes, and snippets.

@unascribed
Created May 6, 2015 01:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unascribed/ffbf886c15482ddbfd5c to your computer and use it in GitHub Desktop.
Save unascribed/ffbf886c15482ddbfd5c to your computer and use it in GitHub Desktop.
minecraft {
srgExtra "PK: com/typesafe/config my/mod/package/repackage/com/typesafe/config"
}
configurations {
external
compile.extendsFrom external
}
dependencies {
external 'com.typesafe:config:1.2.1'
}
jar {
from { configurations.external.collect { it.isDirectory() ? it : zipTree(it) } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment