-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
120 lines (91 loc) · 3.97 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
plugins {
id 'application'
id 'java'
// https://plugins.gradle.org/plugin/org.fulib.fulibGradle
id 'org.fulib.fulibGradle' version '0.5.0'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'jacoco' // DO NOT DELETE
}
group = 'de.uniks.stp'
version = '1.0.0'
repositories {
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
flatDir {
dirs 'libs'
}
maven {
url "https://sandec.jfrog.io/artifactory/repo"
}
}
javafx {
version = '16'
modules = ['javafx.graphics', 'javafx.fxml', 'javafx.base', 'javafx.controls', 'javafx.media', 'javafx.web']
}
dependencies {
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
// https://mvnrepository.com/artifact/org.fulib/fulibScenarios
fulibScenarios group: 'org.fulib', name: 'fulibScenarios', version: '1.7.0'
// https://mvnrepository.com/artifact/org.fulib/fulibTools
testImplementation group: 'org.fulib', name: 'fulibTools', version: '1.5.1'
// https://mvnrepository.com/artifact/org.fulib/fulibTables
testImplementation group: 'org.fulib', name: 'fulibTables', version: '1.4.0'
// https://mvnrepository.com/artifact/org.fulib/fulibMockups
testImplementation group: 'org.fulib', name: 'fulibMockups', version: '0.4.0'
// https://mvnrepository.com/artifact/junit/junit
testImplementation group: 'junit', name: 'junit', version: '4.13'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.1'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.1'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-nop
testImplementation group: 'org.slf4j', name: 'slf4j-nop', version: '1.7.30'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.5.13'
implementation group: 'com.konghq', name: 'unirest-java', version: '2.3.02'
testImplementation 'org.testfx:testfx-junit:4.0.16-alpha'
testImplementation "org.testfx:openjfx-monocle:jdk-12.0.1+2"
implementation group: 'javax.websocket', name: 'javax.websocket-api', version: '1.1'
implementation group: 'com.sparkjava', name: 'spark-core', version: '2.9.1'
implementation group: 'org.glassfish', name: 'javax.json', version: '1.1'
implementation group: 'org.glassfish.tyrus', name: 'tyrus-client', version: '1.15'
implementation group: 'org.glassfish.tyrus', name: 'tyrus-container-grizzly-client', version: '1.15'
implementation 'com.github.cliftonlabs:json-simple:3.1.0'
implementation 'com.github.harawata:appdirs:appdirs-1.2.1'
// https://github.com/vdurmont/emoji-java
//compile 'com.vdurmont:emoji-java:5.1.1'
implementation name: 'JavaFXEmojiTextFlow_emojitwo-1.0'
// https://mvnrepository.com/artifact/org.sharegov/mjson
compile group: 'org.sharegov', name: 'mjson', version: '1.3'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
compile 'se.michaelthelin.spotify:spotify-web-api-java:6.5.4'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
compile "com.sandec:mdfx:0.2.4"
}
mainClassName = 'de.uniks.stp.Launcher'
generateScenarioSource {
classDiagramSVG = true
}
test {
useJUnit()
maxHeapSize = "5120m"
jvmArgs "-Dtestfx.robot=glass -Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw"
}
jar {
manifest {
attributes "Main-Class": "$mainClassName"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
/* DO NOT CHANGE THIS PART */
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
check.dependsOn jacocoTestReport