You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by cd...@apache.org on 2021/03/21 11:35:38 UTC

[royale-asjs] 13/17: - Stripped down the distribution to only contain the jars actually needed.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit b81b42daa2260f2ad5d9113cf732397813048cf4
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Mar 17 10:07:37 2021 +0100

    - Stripped down the distribution to only contain the jars actually needed.
---
 distribution/src/main/assembly/component-royale.xml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/distribution/src/main/assembly/component-royale.xml b/distribution/src/main/assembly/component-royale.xml
index 1040e0b..06a20f9 100644
--- a/distribution/src/main/assembly/component-royale.xml
+++ b/distribution/src/main/assembly/component-royale.xml
@@ -58,14 +58,17 @@
             <outputDirectory>lib/external</outputDirectory>
             <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
             <includes>
-                <include>*:jar</include>
+                <include>*:antlr:jar</include>
+                <include>*:antlr-runtime:jar</include>
+                <include>*:commons-cli:jar</include>
+                <include>*:commons-compress:jar</include>
+                <include>*:commons-io:jar</include>
+                <include>*:commons-lang:jar</include>
+                <include>*:commons-lang3:jar</include><!-- Why is this needed? -->
+                <include>*:flex-tool-api:jar</include>
+                <include>*:guava:jar</include>
+                <include>*:lzma-sdk-4j:jar</include>
             </includes>
-            <excludes>
-                <exclude>org.apache.royale.compiler:*</exclude>
-                <exclude>*:args4j:jar</exclude>
-                <exclude>*:google-closure-library*:jar</exclude>
-                <exclude>*:org.json:jar</exclude>
-            </excludes>
         </dependencySet>
         <!-- Put the framework js-swcs into the frameworks/libs directory -->
         <dependencySet>