File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
src/main/java/org/modelmapper/record Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 java-version : ${{ matrix.java }}
2424 distribution : ' zulu'
25- cache : ' maven'
25+ - name : Cache local Maven repository
26+ uses : actions/cache@v4
27+ continue-on-error : true
28+ with :
29+ path : ~/.m2/repository
30+ key : cache-maven-${{ hashFiles('**/pom.xml') }}
31+ restore-keys : |
32+ cache-maven-${{ hashFiles('**/pom.xml') }}
33+ cache-maven-
2634 - name : Build
2735 run : mvn --no-transfer-progress -B clean package
Original file line number Diff line number Diff line change 1616 <properties >
1717 <maven .compiler.source>17</maven .compiler.source>
1818 <maven .compiler.target>17</maven .compiler.target>
19- <modelmapper .version>3.1.1 </modelmapper .version>
19+ <modelmapper .version>3.2.6 </modelmapper .version>
2020 <testng .version>7.7.0</testng .version>
2121 </properties >
2222 <licenses >
Original file line number Diff line number Diff line change @@ -7,5 +7,7 @@ public class RecordModule implements Module {
77 @ Override
88 public void setupModule (ModelMapper modelMapper ) {
99 modelMapper .getConfiguration ().addValueReader (new RecordValueReader ());
10+ modelMapper .getConfiguration ().addConstructorInjector (
11+ new RecordConstructorInjector ());
1012 }
1113}
You can’t perform that action at this time.
0 commit comments