From b0a2f34981f24bf72c47c50c778ac3d70e84868a Mon Sep 17 00:00:00 2001 From: linpeilie Date: Thu, 23 Mar 2023 18:28:31 +0800 Subject: [PATCH] =?UTF-8?q?1.2.1=20=E8=A7=A3=E5=86=B3JDK17=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0hutool=E7=89=88=E6=9C=AC=E5=8F=B7=E4=B8=BA5.8?= =?UTF-8?q?.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/github/linpeilie/processor/AutoMapperProcessor.java | 6 +++++- pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mapstruct-plus-processor/src/main/java/io/github/linpeilie/processor/AutoMapperProcessor.java b/mapstruct-plus-processor/src/main/java/io/github/linpeilie/processor/AutoMapperProcessor.java index 613cd62..93f0110 100644 --- a/mapstruct-plus-processor/src/main/java/io/github/linpeilie/processor/AutoMapperProcessor.java +++ b/mapstruct-plus-processor/src/main/java/io/github/linpeilie/processor/AutoMapperProcessor.java @@ -60,7 +60,6 @@ import static javax.tools.Diagnostic.Kind.ERROR; @SupportedAnnotationTypes({AUTO_MAPPER_ANNOTATION, AUTO_MAPPERS_ANNOTATION, AUTO_MAP_MAPPER_ANNOTATION, MAPPER_CONFIG_ANNOTATION, COMPONENT_MODEL_CONFIG_ANNOTATION}) -@SupportedSourceVersion(SourceVersion.RELEASE_8) public class AutoMapperProcessor extends AbstractProcessor { private static final ClassName MAPPING_DEFAULT_TARGET = ClassName.get("io.github.linpeilie", "DefaultMapping"); @@ -539,4 +538,9 @@ public class AutoMapperProcessor extends AbstractProcessor { .collect(Collectors.toList()); } + @Override + public SourceVersion getSupportedSourceVersion() { + return SourceVersion.latestSupported(); + } + } diff --git a/pom.xml b/pom.xml index 4071336..0c6db62 100644 --- a/pom.xml +++ b/pom.xml @@ -17,12 +17,12 @@ - 1.2.0 + 1.2.1 8 8 UTF-8 1.5.3.Final - 5.8.9 + 5.8.15 https://github.com/linpeilie/mapstruct-plus.git