Magisk/crypto/build.gradle

39 lines
715 B
Groovy
Raw Normal View History

apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
2017-10-21 22:54:47 +08:00
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
jar {
manifest {
2017-10-30 03:45:22 +08:00
attributes 'Main-Class': 'com.topjohnwu.crypto.ZipSigner'
}
}
shadowJar {
2017-10-30 03:45:22 +08:00
baseName = 'zipsigner'
classifier = null
version = 1.0
}
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 22:31:47 +08:00
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.58'
}