dnault/therapi-runtime-javadoc

Remove external dependencies at all

magdel opened this issue · 2 comments

compile 'com.eclipsesource.minimal-json:minimal-json:0.9.5'

Hello! I just wonder if it is possible to remove dependency at all and have nice pure Java library.

Hi Pavel,

I'm not sure I see the benefit of implementing our own JSON library.

The minimal-json library is shaded/shadowed into the therapi-runtime-javadoc JAR, repackaged to avoid any possible dependency conflicts:

shadowJar {
classifier = null
mergeServiceFiles()
relocate 'com.eclipsesource', 'com.github.therapi.runtimejavadoc.repack.com.eclipsesource'
}

From a user's perspective, the therapi-runtime-javadoc library has no external dependencies. You can verify this by inspecting the published POM.

Thanks,
David

@dnault , thank you.