mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-07 17:48:35 +08:00
commit
13fb7fad86
@ -61,7 +61,7 @@ public class User {
|
|||||||
|
|
||||||
```xml
|
```xml
|
||||||
<properties>
|
<properties>
|
||||||
<mapstruct-plus.version>1.3.2</mapstruct-plus.version>
|
<mapstruct-plus.version>1.3.3</mapstruct-plus.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -56,18 +56,22 @@ copyright: false
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.github.linpeilie</groupId>
|
<groupId>io.github.linpeilie</groupId>
|
||||||
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
|
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
|
||||||
<version>1.3.2</version>
|
<version>1.3.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
- gradle
|
- gradle
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.2'
|
implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.3.3'
|
||||||
```
|
```
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
### 1.3.3
|
||||||
|
|
||||||
|
- fixbug: 修复 win JDK8 编译报错问题
|
||||||
|
|
||||||
### 1.3.2
|
### 1.3.2
|
||||||
|
|
||||||
- 不可变对象支持,可以使用任意包下的 `Immutable` 标注类型为不可变类
|
- 不可变对象支持,可以使用任意包下的 `Immutable` 标注类型为不可变类
|
||||||
|
|||||||
@ -6,6 +6,10 @@ category:
|
|||||||
description: MapStructPlus release log
|
description: MapStructPlus release log
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### 1.3.3
|
||||||
|
|
||||||
|
- fixbug: 修复 win JDK8 编译报错问题
|
||||||
|
|
||||||
### 1.3.2
|
### 1.3.2
|
||||||
|
|
||||||
- 不可变对象支持,可以使用任意包下的 `Immutable` 标注类型为不可变类
|
- 不可变对象支持,可以使用任意包下的 `Immutable` 标注类型为不可变类
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<mapstruct.version>1.5.1.Final</mapstruct.version>
|
<mapstruct.version>1.5.1.Final</mapstruct.version>
|
||||||
<mapstruct-plus.version>1.3.2</mapstruct-plus.version>
|
<mapstruct-plus.version>1.3.3</mapstruct-plus.version>
|
||||||
<lombok.version>1.18.22</lombok.version>
|
<lombok.version>1.18.22</lombok.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public class BuildCollator {
|
|||||||
Filer filer = processingEnv.getFiler();
|
Filer filer = processingEnv.getFiler();
|
||||||
try {
|
try {
|
||||||
FileObject fileObject = filer.getResource(StandardLocation.CLASS_OUTPUT, "",
|
FileObject fileObject = filer.getResource(StandardLocation.CLASS_OUTPUT, "",
|
||||||
Constants.MAPSTRUCT_PLUS_META_INF + File.separator + fileName);
|
Constants.MAPSTRUCT_PLUS_META_INF + fileName);
|
||||||
this.collatorFile = new File(fileObject.getName());
|
this.collatorFile = new File(fileObject.getName());
|
||||||
if (collatorFile.exists()) {
|
if (collatorFile.exists()) {
|
||||||
records = FileUtil.readUtf8Lines(collatorFile)
|
records = FileUtil.readUtf8Lines(collatorFile)
|
||||||
|
|||||||
@ -35,7 +35,7 @@ public class Constants {
|
|||||||
|
|
||||||
public static final String MAPSTRUCT_MAPPER_CLASS_NAME = "Mapper";
|
public static final String MAPSTRUCT_MAPPER_CLASS_NAME = "Mapper";
|
||||||
|
|
||||||
public static final String MAPSTRUCT_PLUS_META_INF = "META-INF" + File.separator + "mps";
|
public static final String MAPSTRUCT_PLUS_META_INF = "META-INF/mps/";
|
||||||
|
|
||||||
public static final String MAPPER_CONFIG_FILE_NAME = "config";
|
public static final String MAPPER_CONFIG_FILE_NAME = "config";
|
||||||
|
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@ -17,7 +17,7 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<mapstruct-plus.version>1.3.2</mapstruct-plus.version>
|
<mapstruct-plus.version>1.3.3</mapstruct-plus.version>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user