-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Description
pom.xml contains the system dependency
<dependency>
<groupId>com.android</groupId>
<artifactId>apksigner</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/lib/apksigner_33_0_2.jar</systemPath>
</dependency>
which makes building uber-apk-signer unnecessary complicated. Google releases the library version of apksigner in it's maven repository: https://mvnrepository.com/artifact/com.android.tools.build/apksig?repo=google
So you only have to add
<repositories>
<repository>
<id>Google</id>
<name>Google</name>
<url>https://maven.google.com/</url>
</repository>
</repositories>
and then use the dependency
<dependency>
<groupId>com.android.tools.build</groupId>
<artifactId>apksig</artifactId>
<version>8.0.2</version>
</dependency>
You can then directly com.android.apksig.ApkSigner
and com.android.apksig.ApkVerifier
within your code.
Metadata
Metadata
Assignees
Labels
No labels