diff --git a/pom.xml b/pom.xml index 55b5c20..22dc811 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ - 17 + 21 ${java.version} ${java.version} UTF-8 @@ -55,6 +55,8 @@ ${google.auto.service.version} + 21 + 21 diff --git a/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java b/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java index 0506f7f..1bb43be 100644 --- a/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java +++ b/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java @@ -18,7 +18,7 @@ import javax.lang.model.element.TypeElement; import java.util.Set; @SupportedAnnotationTypes("dev.struchkov.haiti.utils.fieldconstants.annotation.FieldNames") -@SupportedSourceVersion(SourceVersion.RELEASE_17) +@SupportedSourceVersion(SourceVersion.RELEASE_21) @AutoService(Processor.class) public class FieldNameProcessor extends AbstractProcessor {