mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 10:05:54 +01:00
apktool-cli: added jar-with-deps assembly.
This commit is contained in:
parent
a3ff517cc0
commit
b7cc03ab75
@ -15,6 +15,32 @@
|
||||
|
||||
<name>apktool cli</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/jar-with-deps.xml</descriptor>
|
||||
</descriptors>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>brut.apktool.Main</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>brut.apktool</groupId>
|
||||
|
23
apktool-cli/src/main/assembly/jar-with-deps.xml
Normal file
23
apktool-cli/src/main/assembly/jar-with-deps.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
||||
<id>jar-with-deps</id>
|
||||
<formats>
|
||||
<format>jar</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<unpack>true</unpack>
|
||||
<scope>runtime</scope>
|
||||
<includes>
|
||||
<include>brut.*</include>
|
||||
<include>xpp3:xpp3</include>
|
||||
<include>org.yaml:snakeyaml</include>
|
||||
<include>commons-io:*</include>
|
||||
<include>org.antlr:antlr-runtime</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
Loading…
Reference in New Issue
Block a user