-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
40 lines (33 loc) · 814 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
39
40
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'application'
buildscript {
repositories {
mavenCentral()
}
}
group = "cabernet1"
version = "1.0.0"
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// Required for json api of java ee
implementation 'javax.json:javax.json-api:1.1'
// Required for json api of java ee
runtimeOnly 'org.glassfish:javax.json:1.1'
// Required for tests
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
}
application {
mainClassName = 'cabernet1.monopoly.Application'
}
test {
useJUnitPlatform()
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
}