mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 03:58:34 +02:00
Compile to Java 21 bytecode (#2374)
We have been running in Java 21 runtime for a couple of weeks and every works as expected.
This commit is contained in:
parent
0df8372407
commit
af1f6e5708
2 changed files with 3 additions and 3 deletions
|
@ -342,8 +342,8 @@ subprojects {
|
|||
// search for `flex-template-base-image` and update the parameter value.
|
||||
// There are at least two instances, one in core/build.gradle, one in
|
||||
// release/stage_beam_pipeline.sh
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
|
||||
project.tasks.test.dependsOn runPresubmits
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ import javax.persistence.Converter;
|
|||
|
||||
/** Processor to generate {@link AttributeConverter} for {@code VKey} type. */
|
||||
@SupportedAnnotationTypes("google.registry.persistence.WithVKey")
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_17)
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_21)
|
||||
public class VKeyProcessor extends AbstractProcessor {
|
||||
|
||||
private static final String CONVERTER_CLASS_NAME_TEMP = "VKeyConverter_%s";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue