You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Android_boot_image_editor/aosp/apksigner/build.gradle.kts

39 lines
897 B
Plaintext

plugins {
java
application
}
version = "1.0"
repositories {
mavenCentral()
}
application {
mainClass.set("com.android.signapk.SignApk")
}
dependencies {
implementation(project(":aosp:bouncycastle:bcpkix"))
implementation(project(":aosp:bouncycastle:bcprov"))
}
tasks {
jar {
manifest {
attributes["Implementation-Title"] = "AOSP ApkSigner"
attributes["Main-Class"] = "com.android.signapk.SignApk"
}
from(configurations.runtimeClasspath.get().map({ if (it.isDirectory) it else zipTree(it) }))
excludes.addAll(mutableSetOf("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA"))
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
dependsOn(":aosp:bouncycastle:bcpkix:jar")
}
test {
testLogging {
showExceptions = true
showStackTraces = true
}
}
}