Skip to content

Commit

Permalink
fix(bob-processor): remove warning when compiling with newer java-ver…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
JoranVanBelle authored and jonas-grgt committed Apr 22, 2024
1 parent 0a0ff14 commit bda16a2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import io.jonasg.bob.definitions.TypeDefinitionFactory;

@SupportedAnnotationTypes("io.jonasg.bob.Buildable")
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedSourceVersion(SourceVersion.RELEASE_11)
public final class BuildableProcessor extends AbstractProcessor {

@Override
Expand All @@ -38,4 +38,8 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
return true;
}

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latestSupported();
}
}

0 comments on commit bda16a2

Please sign in to comment.