File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed
Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22
33plugins {
4- kotlin(" jvm" ) version " 1.3.61 "
5- kotlin(" kapt" ) version " 1.3.61 "
4+ kotlin(" jvm" ) version " 1.5.10 "
5+ kotlin(" kapt" ) version " 1.5.10 "
66}
77
88group = " org.mapstruct.examples"
@@ -28,4 +28,4 @@ tasks.withType<KotlinCompile> {
2828
2929val test by tasks.getting(Test ::class ) {
3030 useJUnitPlatform { }
31- }
31+ }
Original file line number Diff line number Diff line change 99 <version >1.0.0-SNAPSHOT</version >
1010 <packaging >jar</packaging >
1111
12- <name >Sample application demonstration the use of MapStruct and Kotlin</name >
13-
1412 <properties >
1513 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1614
17- <kotlin .version>1.2.51 </kotlin .version>
15+ <kotlin .version>1.5.10 </kotlin .version>
1816 <kotlin .compiler.jvmTarget>1.8</kotlin .compiler.jvmTarget>
1917 <mapstruct .version>1.4.2.Final</mapstruct .version>
2018 </properties >
Original file line number Diff line number Diff line change 2525 <module >mapstruct-spi-accessor-naming</module >
2626 <module >mapstruct-protobuf3</module >
2727 <module >mapstruct-updatemethods-1</module >
28- <module >mapstruct-kotlin</module >
2928 <module >mapstruct-jpa-child-parent</module >
3029 <module >mapstruct-lookup-entity-with-id</module >
3130 <module >mapstruct-metadata-with-annotations</module >
5352 <module >mapstruct-quarkus</module >
5453 </modules >
5554 </profile >
55+ <profile >
56+ <id >java16-</id >
57+ <activation >
58+ <jdk >(,16)</jdk >
59+ </activation >
60+ <modules >
61+ <!--
62+ Kotlin kapt currently has problems on Java 16+.
63+ See https://youtrack.jetbrains.com/issue/KT-45545
64+ -->
65+ <module >mapstruct-kotlin</module >
66+ </modules >
67+ </profile >
5668 </profiles >
5769</project >
You can’t perform that action at this time.
0 commit comments