-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (34 loc) · 1020 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
41
42
43
plugins {
id 'java'
}
group 'com.sunnymix'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
ext {
junitVersion = "5.8.2"
mapstructVersion = "1.5.2.Final"
lombokVersion = "1.18.24"
lombokMapstructBindingVersion = "0.2.0"
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
// Mapstruct:
implementation "org.mapstruct:mapstruct:${mapstructVersion}"
annotationProcessor "org.mapstruct:mapstruct-processor:${mapstructVersion}"
// Lombok & Mapstruct:
implementation "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok-mapstruct-binding:${lombokMapstructBindingVersion}"
// Test:
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
test {
useJUnitPlatform()
}