2017-10-07 12:31:49 +00:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
2017-10-21 14:54:47 +00:00
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
targetCompatibility = "1.8"
|
2017-10-07 12:31:49 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'com.topjohnwu.jarsigner.CommandLine'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
classifier = 'fat'
|
|
|
|
version = null
|
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2017-10-10 14:31:47 +00:00
|
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
|
|
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.58'
|
2017-10-07 12:31:49 +00:00
|
|
|
}
|