Make module-info.java completely equal between Gradle and Ant build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2021-10-21 14:17:21 +00:00
parent f454cfa63a
commit d2d1783087
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ task generateModuleInfo() {
collect { " exports ${it.replaceAll('[/\\\\][^/\\\\]+$', '').replaceAll('[/\\\\]', '.')};" }.
findAll { !(it =~ /\.impl;$/) }.unique().sort().join('\n')
String content = header + '\n' + exports + '\n}\n'
String content = header + '\n' + exports + '\n}'
if (fileOut.text != content) {
fileOut.write content
}

View File

@ -52,4 +52,4 @@ open module org.apache.poi.ooxml.schemas {
exports org.openxmlformats.schemas.wordprocessingml.x2006.main;
exports org.openxmlformats.schemas.xpackage.x2006.digitalSignature;
exports org.w3.x2000.x09.xmldsig;
}
}