-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
37 lines (30 loc) · 722 Bytes
/
build.gradle
File metadata and controls
37 lines (30 loc) · 722 Bytes
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
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
//task startServer(type: JavaExec){
// main = "com.parkinglot.server.ParkingLotApplication"
// description = "Start app"
// classpath = sourceSets.main.runtimeClasspath
//}
sourceSets {
test {
java {
srcDirs = ["src/test"]
}
}
}
test {
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
testLogging {
exceptionFormat "full" // default is "short"
events "passed", "skipped", "failed"
}
}
// In this section you declare the dependencies for your production and test code
dependencies {
testCompile 'junit:junit:4.12'
}