diff options
author | Dominik Stadler <centic@apache.org> | 2021-10-21 14:17:21 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2021-10-21 14:17:21 +0000 |
commit | d2d1783087e763ad4e636ca0b02e30fc5e3a26d3 (patch) | |
tree | 014956dce8e89f280f34e994a911460615cf1333 | |
parent | f454cfa63a7c2d256276ca81d11874a58c4a6fdd (diff) | |
download | poi-d2d1783087e763ad4e636ca0b02e30fc5e3a26d3.tar.gz poi-d2d1783087e763ad4e636ca0b02e30fc5e3a26d3.zip |
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
-rw-r--r-- | poi-ooxml-lite/build.gradle | 2 | ||||
-rw-r--r-- | poi-ooxml-lite/src/main/java9/module-info.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/poi-ooxml-lite/build.gradle b/poi-ooxml-lite/build.gradle index 0cf4ab8214..a26f63e347 100644 --- a/poi-ooxml-lite/build.gradle +++ b/poi-ooxml-lite/build.gradle @@ -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 } diff --git a/poi-ooxml-lite/src/main/java9/module-info.java b/poi-ooxml-lite/src/main/java9/module-info.java index 1ddb8c077f..bca989c46b 100644 --- a/poi-ooxml-lite/src/main/java9/module-info.java +++ b/poi-ooxml-lite/src/main/java9/module-info.java @@ -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; -} +}
\ No newline at end of file |