diff options
author | PJ Fanning <fanningpj@apache.org> | 2023-03-09 13:31:47 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2023-03-09 13:31:47 +0000 |
commit | 5ad29c2df83a6bbac8e865c6d41538281284a664 (patch) | |
tree | 052e10ef3bcc613619d834dcff2a120f0336c454 /build.gradle | |
parent | aa9069c7df4c57088e68d884045f4066fa9ae098 (diff) | |
download | poi-5ad29c2df83a6bbac8e865c6d41538281284a664.tar.gz poi-5ad29c2df83a6bbac8e865c6d41538281284a664.zip |
update build to no longer produce poi-bin distribution files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908224 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/build.gradle b/build.gradle index daa77eb0a3..421ebbec2a 100644 --- a/build.gradle +++ b/build.gradle @@ -593,7 +593,7 @@ task allJavaDoc(type: Javadoc) { } -task jenkins(dependsOn: ['replaceVersion', subprojects.build, 'binDistZip','binDistTar','srcDistZip','srcDistTar']) {} +task jenkins(dependsOn: ['replaceVersion', subprojects.build, 'srcDistZip','srcDistTar']) {} clean { delete "${rootDir}/build/dist" @@ -708,44 +708,6 @@ distributions { var poiDep = project(':poi').configurations.getAt('compileClasspath') var ooxmlImp = project(':poi-ooxml').configurations.getAt('compileClasspath') - bin { - distributionBaseName = "poi-bin-${version}-${date}" - contents { - from('build/dist/maven') { - include "**/*${version}.jar" - exclude "**/*lite-agent*.jar" - exclude "**/*integration*.jar" - } - - from('build/dist') { include 'poi-javadoc*.jar'} - from('legal') { exclude 'HEADER' } - from(poiDep) { include "**/*.jar" } - from(ooxmlImp) { include "**/*.jar" } - - from('.') { - include '*/build/reports/*.bom.*' - } - - includeEmptyDirs = false - duplicatesStrategy = DuplicatesStrategy.EXCLUDE - - eachFile { - String root = "poi-bin-${version}/" - if (name.startsWith('poi')) { - path = root + name - } else if (poiDep.contains(file)) { - path = root + 'lib/' + name - } else if (name =~ /^(batik|bc|fontbox|graphics|pdfbox|xml-apis|xmlgraphics|xmlsec)/) { - path = root + 'auxiliary/' + name - } else if (ooxmlImp.contains(file)) { - path = root + 'ooxml-lib/' + name - } else { - path = root + name - } - } - } - } - src { distributionBaseName = "poi-src-${version}-${date}" contents { @@ -800,14 +762,6 @@ distributions { } } -binDistZip.dependsOn 'zipJavadocs', ':poi-ooxml-full:jar', ':poi-ooxml-full:cyclonedxBom', - ':poi-ooxml:jar', ':poi-ooxml:cyclonedxBom', - ':poi-ooxml-lite:jar', ':poi-ooxml-lite:cyclonedxBom', - ':poi-scratchpad:jar', ':poi-scratchpad:cyclonedxBom', - ':poi-excelant:jar', ':poi-excelant:cyclonedxBom', - ':poi:jar', ':poi:cyclonedxBom', ':poi-examples:jar', ':poi-examples:cyclonedxBom' -binDistTar.dependsOn 'binDistZip' - task soLinkCheck() { doLast { def path = ant.path { @@ -859,7 +813,5 @@ task fixDistDir { } } -binDistZip.finalizedBy fixDistDir -binDistTar.finalizedBy fixDistDir srcDistZip.finalizedBy fixDistDir srcDistTar.finalizedBy fixDistDir |