464 lines
18 KiB
XML
464 lines
18 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>the.bytecode.club</groupId>
|
|
<artifactId>Bytecode-Viewer</artifactId>
|
|
<version>2.11.0</version>
|
|
|
|
<properties>
|
|
<!-- Project settings -->
|
|
<java.version>1.8</java.version>
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- Dependency versions -->
|
|
<annotations.version>23.0.0</annotations.version>
|
|
<antlr4.version>4.9.3</antlr4.version>
|
|
<apktool.version>2.6.0</apktool.version>
|
|
<asm.version>9.2</asm.version>
|
|
<bined.version>0.2.0</bined.version>
|
|
<byteanalysis.version>1.0bcv</byteanalysis.version>
|
|
<cfr.version>0.152</cfr.version>
|
|
<cloning.version>1.9.12</cloning.version>
|
|
<commons-cli.version>1.5.0</commons-cli.version>
|
|
<commons-codec.version>1.15</commons-codec.version>
|
|
<commons-compiler.version>3.1.6</commons-compiler.version>
|
|
<commons-compress.version>1.21</commons-compress.version>
|
|
<commons-io.version>2.11.0</commons-io.version>
|
|
<commons-lang3.version>3.12.0</commons-lang3.version>
|
|
<commons-text.version>1.9</commons-text.version>
|
|
<darklaf.version>2.7.3</darklaf.version>
|
|
<darklaf-extensions-rsta.version>0.3.4</darklaf-extensions-rsta.version>
|
|
<decompiler-fernflower.version>5.2.1.Final</decompiler-fernflower.version>
|
|
<dex2jar.version>v42</dex2jar.version>
|
|
<fernflower.version>eda981d</fernflower.version>
|
|
<gson.version>2.8.9</gson.version>
|
|
<guava.version>31.0.1-jre</guava.version>
|
|
<imgscalr-lib.version>4.2</imgscalr-lib.version>
|
|
<jadx.version>1.3.1</jadx.version>
|
|
<janino.version>3.1.6</janino.version>
|
|
<jd-gui.version>1.6.6bcv</jd-gui.version>
|
|
<jgraphx.version>3.4.1.3</jgraphx.version>
|
|
<js.version>21.2.0</js.version>
|
|
<objenesis.version>3.2</objenesis.version>
|
|
<paged-data.version>0.2.0</paged-data.version>
|
|
<procyon.version>0.5.36</procyon.version>
|
|
<!-- TODO: Remove snapshot version when 0.6 stable is released -->
|
|
<procyon-snapshot.version>10b32a4</procyon-snapshot.version>
|
|
<rsyntaxtextarea.version>3.1.6</rsyntaxtextarea.version>
|
|
<semantic-version.version>2.1.1</semantic-version.version>
|
|
<slf4j.version>1.7.32</slf4j.version>
|
|
<smali.version>2.5.2</smali.version>
|
|
<snakeyaml.version>1.30</snakeyaml.version>
|
|
<treelayout.version>1.0.3</treelayout.version>
|
|
<webp-imageio.version>0.2.2</webp-imageio.version>
|
|
<xpp3.version>1.1.4c</xpp3.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>google</id>
|
|
<url>https://maven.google.com/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>local-maven-repo</id>
|
|
<url>file:///${project.basedir}/libs</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>${annotations.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apktool</groupId>
|
|
<artifactId>apktool-cli</artifactId>
|
|
<version>${apktool.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apktool</groupId>
|
|
<artifactId>apktool-lib</artifactId>
|
|
<version>${apktool.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-analysis</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-tree</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-util</artifactId>
|
|
<version>${asm.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.exbin.bined</groupId>
|
|
<artifactId>bined-core</artifactId>
|
|
<version>${bined.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.exbin.bined</groupId>
|
|
<artifactId>bined-swing</artifactId>
|
|
<version>${bined.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.exbin.bined</groupId>
|
|
<artifactId>bined-highlight-swing</artifactId>
|
|
<version>${bined.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.benf</groupId>
|
|
<artifactId>cfr</artifactId>
|
|
<version>${cfr.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>uk.com.robust-it</groupId>
|
|
<artifactId>cloning</artifactId>
|
|
<version>${cloning.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>${commons-cli.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>${commons-codec.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>commons-compiler</artifactId>
|
|
<version>${commons-compiler.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>${commons-compress.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
<version>${commons-text.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.windup.decompiler</groupId>
|
|
<artifactId>decompiler-fernflower</artifactId>
|
|
<version>${decompiler-fernflower.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.jboss.windup.decompiler.fernflower</groupId>
|
|
<artifactId>windup-fernflower</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.ThexXTURBOXx</groupId>
|
|
<artifactId>fernflower</artifactId>
|
|
<version>${fernflower.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imgscalr</groupId>
|
|
<artifactId>imgscalr-lib</artifactId>
|
|
<version>${imgscalr-lib.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>janino</artifactId>
|
|
<version>${janino.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jd</groupId>
|
|
<artifactId>jd-gui</artifactId>
|
|
<version>${jd-gui.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.bibl.banalysis</groupId>
|
|
<artifactId>byteanalysis</artifactId>
|
|
<version>${byteanalysis.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.tinyjee.jgraphx</groupId>
|
|
<artifactId>jgraphx</artifactId>
|
|
<version>${jgraphx.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.objenesis</groupId>
|
|
<artifactId>objenesis</artifactId>
|
|
<version>${objenesis.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.exbin.auxiliary</groupId>
|
|
<artifactId>paged_data</artifactId>
|
|
<version>${paged-data.version}</version>
|
|
</dependency>
|
|
<!-- TODO: Add back when 0.6 stable is released
|
|
<dependency>
|
|
<groupId>org.bitbucket.mstrobel</groupId>
|
|
<artifactId>procyon-core</artifactId>
|
|
<version>${procyon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bitbucket.mstrobel</groupId>
|
|
<artifactId>procyon-expressions</artifactId>
|
|
<version>${procyon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bitbucket.mstrobel</groupId>
|
|
<artifactId>procyon-reflection</artifactId>
|
|
<version>${procyon.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bitbucket.mstrobel</groupId>
|
|
<artifactId>procyon-compilertools</artifactId>
|
|
<version>${procyon.version}</version>
|
|
</dependency>
|
|
-->
|
|
<dependency>
|
|
<groupId>com.github.mstrobel.procyon</groupId>
|
|
<artifactId>procyon-compilertools</artifactId>
|
|
<version>${procyon-snapshot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.mstrobel.procyon</groupId>
|
|
<artifactId>procyon-core</artifactId>
|
|
<version>${procyon-snapshot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.mstrobel.procyon</groupId>
|
|
<artifactId>procyon-expressions</artifactId>
|
|
<version>${procyon-snapshot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.mstrobel.procyon</groupId>
|
|
<artifactId>procyon-reflection</artifactId>
|
|
<version>${procyon-snapshot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fifesoft</groupId>
|
|
<artifactId>rsyntaxtextarea</artifactId>
|
|
<version>${rsyntaxtextarea.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.smali</groupId>
|
|
<artifactId>smali</artifactId>
|
|
<version>${smali.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.smali</groupId>
|
|
<artifactId>baksmali</artifactId>
|
|
<version>${smali.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>${snakeyaml.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xpp3</groupId>
|
|
<artifactId>xpp3</artifactId>
|
|
<version>${xpp3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.skylot</groupId>
|
|
<artifactId>jadx-core</artifactId>
|
|
<version>${jadx.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.skylot</groupId>
|
|
<artifactId>jadx-java-convert</artifactId>
|
|
<version>${jadx.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.android.tools</groupId>
|
|
<artifactId>r8</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.jakewharton.android.repackaged</groupId>
|
|
<artifactId>dalvik-dx</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.skylot</groupId>
|
|
<artifactId>jadx-dex-input</artifactId>
|
|
<version>${jadx.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.skylot</groupId>
|
|
<artifactId>jadx-smali-input</artifactId>
|
|
<version>${jadx.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.ThexXTURBOXx</groupId>
|
|
<artifactId>dex2jar</artifactId>
|
|
<version>${dex2jar.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.weisj</groupId>
|
|
<artifactId>darklaf-core</artifactId>
|
|
<version>${darklaf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.weisj</groupId>
|
|
<artifactId>darklaf-extensions-rsyntaxarea</artifactId>
|
|
<version>${darklaf-extensions-rsta.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.gotson</groupId>
|
|
<artifactId>webp-imageio</artifactId>
|
|
<version>${webp-imageio.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.skuzzle</groupId>
|
|
<artifactId>semantic-version</artifactId>
|
|
<version>${semantic-version.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.abego.treelayout</groupId>
|
|
<artifactId>org.abego.treelayout.core</artifactId>
|
|
<version>${treelayout.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4</artifactId>
|
|
<version>${antlr4.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.ibm.icu</groupId>
|
|
<artifactId>icu4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- TODO Re-add for Graal.JS support -->
|
|
<!--<dependency>
|
|
<groupId>org.graalvm.js</groupId>
|
|
<artifactId>js</artifactId>
|
|
<version>${js.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.graalvm.js</groupId>
|
|
<artifactId>js-scriptengine</artifactId>
|
|
<version>${js.version}</version>
|
|
</dependency>-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>module-info.class</exclude>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<exclude>META-INF/*LICENSE*</exclude>
|
|
<exclude>META-INF/*NOTICE*</exclude>
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>the.bytecode.club.bytecodeviewer.BytecodeViewer</mainClass>
|
|
<manifestEntries>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|