https://github.com/wsargent/test-shade
Example project showing shading with jarjar links directly through SBT
https://github.com/wsargent/test-shade
Last synced: 8 months ago
JSON representation
Example project showing shading with jarjar links directly through SBT
- Host: GitHub
- URL: https://github.com/wsargent/test-shade
- Owner: wsargent
- Created: 2016-12-15T21:38:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T23:49:13.000Z (almost 9 years ago)
- Last Synced: 2025-01-09T18:03:18.237Z (9 months ago)
- Language: Scala
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# test-shade
This is a very simple SBT project that shows how to shade Netty so that it uses a different root package.
This example uses the pantsbuild version of jarjar, which is updated for JDK 1.8:
* https://github.com/pantsbuild/jarjar
Much of this work is taken from the Scala build implementation of Jarjar:
* https://github.com/scala/scala/pull/4874
* https://github.com/scala/scala/blob/2.12.x/project/JarJar.scalaHowever, in the Scala build, jline is provided embedded as a fallback mechanism, and so the original classes are still available. Here, we only want the shaded classes to be used.