Merge pull request #176853 from linsui/apksigner

apksigner: fix for gradle_5
This commit is contained in:
Bobby Rong 2022-06-08 20:29:57 +08:00 committed by GitHub
commit 67b282f040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
cat >> build.gradle <<EOF
apply plugin: 'application'
mainClassName = "com.android.apksigner.ApkSignerTool"
sourceSets.main.java.srcDirs = [ 'src/apksigner/java', 'src/main/java' ]
jar {
manifest { attributes "Main-Class": "com.android.apksigner.ApkSignerTool" }