-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
67 lines (47 loc) · 1.39 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
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
// https://imperceptiblethoughts.com/shadow/getting-started/#default-java-groovy-tasks
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'jacoco'
}
group = 'pl.nogacz'
version = '1.0-BETA'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
jar {
manifest {
attributes(
'Main-Class': 'pl.nogacz.snake.Snake',
)
}
}
mainClassName = 'pl.nogacz.snake.Snake'
javafx {
version = "15.0.1"
modules = [ 'javafx.controls' ]
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.11'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'commons-cli:commons-cli:1.4'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.6.6'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.3'
implementation 'commons-io:commons-io:2.6'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'com.h2database:h2:1.4.200'
implementation 'org.slf4j:slf4j-log4j12:1.7.30'
implementation 'org.apache.commons:commons-collections4:4.4'
testImplementation 'org.mockito:mockito-core:2.22.0'
}
test {
testLogging {
showStandardStreams = true
}
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
}