-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (36 loc) · 1.06 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'com.uchihasystems.psychohasher.gui.PsychoHasherGui'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
task wrapper(type: Wrapper) {
gradleVersion = '2.10'
}
jar {
baseName = 'PsychoHasher'
version = '1.1-Beta'
manifest {
attributes 'Main-Class': 'com.uchihasystems.psychohasher.gui.PsychoHasherGui'
}
}
task fatJar(type: Jar) {
manifest.from jar.manifest
classifier = '1.1-Beta-FAT'
from {
configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
artifacts {
archives fatJar
}
repositories {
mavenCentral()
}
dependencies {
runtime files('src/main/resources/JTattoo-1.6.11.jar')
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.5'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.5'
testCompile group: 'junit', name: 'junit', version: '4.12'
}