Skip to content

Commit

Permalink
fix: mapstruct 要加上 lombok 設定才能正常 compiler
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
ShadowSunCat committed Sep 3, 2023
1 parent ca9b59a commit 74cc385
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<properties>
<java.version>17</java.version>
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
<org.projectlombok.version>1.18.26</org.projectlombok.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -44,6 +45,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
<optional>true</optional>
</dependency>
<dependency>
Expand Down Expand Up @@ -119,6 +121,16 @@
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
<!-- other annotation processors -->
</annotationProcessorPaths>
</configuration>
Expand Down

0 comments on commit 74cc385

Please sign in to comment.