2017-12-04 07:16:41 +00:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
targetCompatibility = "1.8"
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'com.topjohnwu.crypto.ZipSigner'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
baseName = 'zipsigner'
|
|
|
|
classifier = null
|
2018-01-27 00:25:34 +00:00
|
|
|
version = 2.1
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2018-01-26 16:19:35 +00:00
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
|
|
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.58'
|
|
|
|
}
|