I\'m trying to build a Bukkit plugin. The plugin also uses exp4j. The final result needs to have the exp4j code included in the released jar but not have the Bu
In Gradle 2.12 and later, there is a configuration called compileOnly
that has the provided semantics you are looking for.
More about this configuration on the Gradle blog post on the subject.
Before 2.12, you can use the nebula.provided-base
plugin to create a provided
configuration with all the correct semantics.