Skip to content

Commit d150ee3

Browse files
dgruntzsjaakd
authored andcommitted
Removes the apt plugin (#73)
The APT processor is no longer needed, so the reference to 'net.ltgt.apt' can be removed. In addition a folder could be specified (and added to the source set) I had problems with the gradle wrapper task declaration, therore I deleted it. The wrapper was upgraded to 5.6.2
1 parent 36cceca commit d150ee3

5 files changed

Lines changed: 84 additions & 52 deletions

File tree

mapstruct-on-gradle/build.gradle

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
plugins {
22
id 'java'
3-
id 'net.ltgt.apt' version '0.9'
43
}
54

65
repositories {
76
mavenCentral()
87
mavenLocal()
98
}
109

11-
task wrapper(type: Wrapper) {
12-
gradleVersion = '3.4'
13-
}
14-
1510
ext {
1611
mapstructVersion = "1.3.1.Final"
1712
}
1813

1914
sourceCompatibility = JavaVersion.VERSION_1_8
2015

2116
dependencies {
22-
compile "org.mapstruct:mapstruct:${mapstructVersion}"
23-
testCompile 'org.testng:testng:6.10', 'org.easytesting:fest-assert:1.4'
24-
apt "org.mapstruct:mapstruct-processor:${mapstructVersion}"
17+
implementation "org.mapstruct:mapstruct:${mapstructVersion}"
18+
testImplementation "org.testng:testng:6.10", "org.easytesting:fest-assert:1.4"
19+
annotationProcessor "org.mapstruct:mapstruct-processor:1.3.1.Final"
2520
}
2621

2722
tasks.withType(JavaCompile) {
1.93 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Sat Feb 25 23:47:27 CET 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-bin.zip

mapstruct-on-gradle/gradlew

Lines changed: 60 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mapstruct-on-gradle/gradlew.bat

Lines changed: 20 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)