java 21
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-11-25 21:33:21 +03:00
parent 27e764ef11
commit d46c9533fe
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@
</issueManagement>
<properties>
<java.version>17</java.version>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -55,6 +55,8 @@
<version>${google.auto.service.version}</version>
</path>
</annotationProcessorPaths>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
<plugin>

View File

@ -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 {