Magisk/signing/build.gradle

41 lines
726 B
Groovy
Raw Normal View History

2017-12-04 08:16:41 +01:00
apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
jar {
manifest {
2019-01-30 09:10:12 +01:00
attributes 'Main-Class': 'com.topjohnwu.signing.ZipSigner'
2017-12-04 08:16:41 +01:00
}
}
shadowJar {
baseName = 'zipsigner'
classifier = null
version = 3.0
2017-12-04 08:16:41 +01:00
}
buildscript {
repositories {
jcenter()
}
dependencies {
2018-05-20 09:24:47 +02:00
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
2017-12-04 08:16:41 +01:00
}
}
repositories {
jcenter()
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
2019-05-12 22:42:53 +02:00
2019-09-12 18:50:44 +02:00
def bcVer = '1.63'
api "org.bouncycastle:bcprov-jdk15on:${bcVer}"
api "org.bouncycastle:bcpkix-jdk15on:${bcVer}"
2017-12-04 08:16:41 +01:00
}