diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index bb74c04e87..23edc9dcd4 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -189,11 +189,9 @@ test { } } -javadoc.onlyIf { false } +javadoc { enabled(false) } -javadocJar.onlyIf { false } - -sourcesJar.onlyIf { false } +sourcesJar { enabled(false) } generateMetadataFileForPOIPublication.enabled = false publishPOIPublicationToMavenLocal.enabled = false