-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (57 loc) · 1.89 KB
/
build.gradle
File metadata and controls
71 lines (57 loc) · 1.89 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
plugins {
id "edu.sc.seis.macAppBundle" version "2.2.3"
}
plugins {
id "edu.sc.seis.launch4j" version "2.4.4"
}
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0'
repositories {
mavenCentral()
maven {
url 'https://ravana.dyn.wpi.edu/maven'
}
}
dependencies {
testCompile(
[group: 'org.apache.poi', name: 'poi', version: '3.17'],
[group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'],
[group: 'junit', name: 'junit', version: '4.12'],
[group: 'com.jfoenix', name: 'jfoenix', version: '8.0.2'],
[group: 'org.apache.derby', name: 'derby', version: '10.11.1.1'],
[group: 'org.apache.derby', name: 'derbyclient', version: '10.11.1.1'],
[group: 'org.apache.derby', name: 'derbytools', version: '10.11.1.1'],
)
compile(
[group: 'org.apache.poi', name: 'poi', version: '3.17'],
[group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'],
[group: 'junit', name: 'junit', version: '4.12'],
[group: 'com.jfoenix', name: 'jfoenix', version: '8.0.2'],
[group: 'org.apache.derby', name: 'derby', version: '10.11.1.1'],
[group: 'org.apache.derby', name: 'derbyclient', version: '10.11.1.1'],
[group: 'org.apache.derby', name: 'derbytools', version: '10.11.1.1'],
)
compile fileTree(dir: 'libs', include: '*.jar')
testCompile "org.testfx:openjfx-monocle:8u76-b04" // jdk-9+181 for Java 9
testCompile "org.testfx:testfx-core:4.0.13-alpha"
testCompile "org.testfx:testfx-junit:4.0.13-alpha"
testRuntime 'org.testfx:openjfx-monocle:8u76-b04'
}
jar {
manifest {
attributes 'Main-Class': 'Launcher.Launcher'
}
from configurations.runtime.collect { zipTree(it) }
}
task run(type: JavaExec) {
main = 'Launcher.Launcher'
classpath = sourceSets.main.runtimeClasspath
}
test{
if (!project.hasProperty("noHeadless")) {
jvmArgs "-Dheadless=true"
}
}