]> source.dussan.org Git - poi.git/commitdiff
Make module-info.java completely equal between Gradle and Ant build
authorDominik Stadler <centic@apache.org>
Thu, 21 Oct 2021 14:17:21 +0000 (14:17 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 21 Oct 2021 14:17:21 +0000 (14:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894448 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml-lite/build.gradle
poi-ooxml-lite/src/main/java9/module-info.java

index 0cf4ab8214d91aed35de9b50df97d6a4a0a4078e..a26f63e3476d2b7a91397b497a2a79124f80a3aa 100644 (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
         }
index 1ddb8c077fa28bed8126ce617b8a9dd187b78c37..bca989c46b0437ba0849fa8f4154b8ff1d801b46 100644 (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;
-}
+}
\ No newline at end of file