Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

A proof of concept project, to find out if shaded jars with sources are possible.

Notifications You must be signed in to change notification settings

schulzp/gradle-shadow-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I like the shade, does it come with sources?

A proof of concept project, to find out if shaded jars with sources are possible.

Usually shading works like this: pull in some 3rd party dependencies, bundle them in a single artifact and rename some packages while doing so. This can be done with the great shadow plugin. Once that is done the maven-publish plugin adds some meta information and that's it.

It's all smooth sailin' until you want to debug into the shaded code. The shadow plugin is not capable of shadowing sources, yet. Hence maven-publish cannot attach any sources. And since debugging without sources is not very insightful, this project arose.

TL;DR It works! Have a look at the build.gradle or simply run $ gradle -q publish.

About

A proof of concept project, to find out if shaded jars with sources are possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published