Skip to content

Commit

Permalink
Add new gradle tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lakinduakash committed Feb 11, 2019
1 parent b767392 commit 7fc188d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ repositories {
mavenCentral()
}

task customFatJar(type: Jar) {
manifest {
attributes "Main-Class": "wadecrypt.Decrypt12"
}
baseName = 'all-in-one-jar'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk16
implementation group: 'org.bouncycastle', name: 'bcprov-jdk16', version: '1.46'
compile group: 'org.bouncycastle', name: 'bcprov-jdk16', version: '1.46'

}

0 comments on commit 7fc188d

Please sign in to comment.