-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (33 loc) · 1.05 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
plugins {
id 'org.springframework.boot' version '2.1.2.RELEASE'
id 'groovy'
id 'java'
id 'net.ltgt.apt' version '0.9'
}
apply plugin: 'io.spring.dependency-management'
group 'hu.blzsaa'
version '1.0-SNAPSHOT'
sourceCompatibility = 11
repositories {
mavenCentral()
}
ext {
mapstructVersion = "1.3.0.Final"
// generatedMapperSourcesDir = "${buildDir}/build/generated/source/apt/main"
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.5.6'
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
compile "org.mapstruct:mapstruct:${mapstructVersion}"
testCompile 'org.testng:testng:6.10', 'org.easytesting:fest-assert:1.4'
apt "org.mapstruct:mapstruct-processor:${mapstructVersion}"
}
sourceSets {
main {
java { srcDirs = [] }
groovy { srcDirs += ['src/main/java', "${buildDir}/generated/source/apt/main"] }
}
}
compileGroovy.dependsOn clean