Set annotation processor source version to Java 11

This commit is contained in:
Eduard Heimbuch
2022-05-20 11:18:12 +02:00
parent b2751dc6a7
commit 1cac44972f

View File

@@ -85,8 +85,8 @@ import static javax.lang.model.util.ElementFilter.methodsIn;
*/
@SupportedAnnotationTypes("*")
@MetaInfServices(Processor.class)
@SuppressWarnings({"Since16", "Since15"})
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SuppressWarnings({"Since16"})
@SupportedSourceVersion(SourceVersion.RELEASE_11)
public final class ScmAnnotationProcessor extends AbstractProcessor {
private static final String DESCRIPTOR_MODULE = "META-INF/scm/module.xml";