mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
32809e56d0
Close #408
39 lines
714 B
Groovy
39 lines
714 B
Groovy
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.utils.ZipSigner'
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
baseName = 'zipsigner'
|
|
classifier = null
|
|
version = 3.0
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.59'
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.59'
|
|
}
|