Skip to content

Commit

Permalink
include signing jar in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Dec 23, 2024
1 parent 4b8b22c commit 61a981c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testing/downgrade/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ tasks.jar {
destinationDirectory = temporaryDir
}

tasks.annotationASMJar.configure {
doLast {
exec {
commandLine(
"jarsigner",
"-keystore", file("test_app_sign.jks").absolutePath,
"-storepass", "changeit",
outputs.files.singleFile.absolutePath, "test_app_alias")
}.rethrowFailure().assertNormalExitValue()
}
}

tasks.build {
dependsOn("annotationASMJar")
}
Binary file added testing/downgrade/test_app_sign.jks
Binary file not shown.

0 comments on commit 61a981c

Please sign in to comment.