mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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:
parent
f454cfa63a
commit
d2d1783087
@ -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
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user