build.gradle.kts

Rename methods for javadoc and sources jar creation The new name reflects better what happens exactly when the option is activated on the java extension. The publication part is only applicable when a publishing plugin is also configured.