An open API service indexing awesome lists of open source software.

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

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.scala

However, 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.