group 'com.topjohnwu' version '1.0.0' apply plugin: 'java' apply plugin: 'com.github.johnrengelman.shadow' sourceCompatibility = 1.8 jar { manifest { attributes 'Main-Class': 'com.topjohnwu.ZipSigner' } } shadowJar { classifier = null version = null } buildscript { repositories { jcenter() } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1' } } repositories { mavenCentral() } dependencies { compile 'org.bouncycastle:bcprov-jdk15on:1.57' compile 'org.bouncycastle:bcpkix-jdk15on:1.57' }