forked from ssalabura/Rods-and-Harpoons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (32 loc) · 778 Bytes
/
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
plugins {
id 'java'
id 'org.openjfx.javafxplugin' version '0.0.8'
}
sourceCompatibility = 8
javafx {
version = "11.0.2"
modules = [ 'javafx.controls' ]
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.mongodb:mongo-java-driver:3.12.5'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.+'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.+'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.+'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
jar {
manifest {
attributes "Main-Class": "application.Program"
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}