-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (50 loc) · 1.31 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
plugins {
id 'org.springframework.boot' version '2.5.12' // Updated Spring Boot version
id 'io.spring.dependency-management' version '1.0.15.RELEASE' // Updated Dependency Management Plugin version
id 'groovy'
}
group = 'me.games'
version = '0.0.1'
java {
sourceCompatibility = JavaVersion.VERSION_11
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
sourceSets {
test {
groovy {
srcDir 'src/test/groovy'
}
}
main {
groovy {
srcDir 'src/main/groovy'
}
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.codehaus.groovy:groovy-all:2.4.15'
implementation 'org.codehaus.groovy:groovy'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'junit:junit:4.12'
testImplementation 'org.codehaus.groovy:groovy-all:2.4.15'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.4'
testImplementation group: 'org.spockframework', name: 'spock-spring', version: '1.3-groovy-2.4'
}
tasks.named('test') {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
outputs.upToDateWhen { false }
showStandardStreams = true
}
}