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 {
|
2018-01-27 00:34:40 +00:00
|
|
|
attributes 'Main-Class': 'com.topjohnwu.utils.ZipSigner'
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
baseName = 'zipsigner'
|
|
|
|
classifier = null
|
2018-08-04 18:29:40 +00:00
|
|
|
version = 3.0
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2018-05-20 07:24:47 +00:00
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2018-10-28 20:05:32 +00:00
|
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
|
|
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.60'
|
2017-12-04 07:16:41 +00:00
|
|
|
}
|