Gradle POM plugin
Migration:
pomGeneration
optional
and provided
configurations because it appears that it's not possible in gradle to completely replace them
optinoal
and provided
would be included into implementation
configuration (and not compile
as before),
but this will not change anything from usage perspectivecompileOnly
dependencies no more added as provided (they are removed as before)!java-library
plugin (in 1.3 they were not)Changes comparing to 1.3.0:
implementation
extends optional
and provided
, not compile
providedCompile
and providedRuntime
dependencies scope changed to provided (from compile)Versions 2.0.0 and 2.0.1 are considered now as failed experiment of relying only on gradle features
Important: when STABLE_PUBLISHING is enabled (gradle 4.8 and above) publishing configurations will NOT work in a lazy way as before. Use afterEvaluate {}
INSIDE publication configuration in order to configure lazy properties