-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (35 loc) · 1.18 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
44
45
46
47
48
group 'com.burgundyBiclops.mainProject'
version '0.1'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "Initialization.Main"
sourceCompatibility = 1.8
task makeJar(type: Jar) {
manifest {
attributes 'Main-Class' : 'Controllers.Main'
}
baseName = project.name + '-all'
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Beta Faulkner Kiosk',
'Implementation-Version': 1.0,
'Main-Class': 'Controllers.Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.commons:commons-lang3:3.1'
compile fileTree(dir: 'libs', include: '*.jar')
compile 'org.apache.derby:derby:10.11.1.1', 'org.apache.commons:commons-lang3:3.5'
testCompile group: 'junit', name: 'junit', version: '4.4'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
}