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.
22 lines
534 B
Groovy
22 lines
534 B
Groovy
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
|
|
jar() {
|
|
manifest {
|
|
attributes "Implementation-Title": "AOSP boot signer",
|
|
"Main-Class": "com.android.verity.BootSignature"
|
|
}
|
|
doFirst {
|
|
from {configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }} //pack dependent jar
|
|
}
|
|
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
|
|
}
|
|
|
|
dependencies {
|
|
compile("org.bouncycastle:bcprov-jdk15on:1.57")
|
|
compile("org.bouncycastle:bcpkix-jdk15on:1.57")
|
|
}
|