From 77ff3490f0c8e9bce2b75a8b9aa668a5fce31819 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 24 Jun 2024 15:34:05 +0300 Subject: [PATCH] java 17 --- .drone.yml | 8 ++++---- .../fieldconstants/processor/FieldNameProcessor.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 64c4e6f..3f1cc73 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ volumes: steps: - name: publish - image: maven:3.9-eclipse-temurin-21-alpine + image: hub.docker.struchkov.dev/maven:3.9-eclipse-temurin-17-alpine privileged: true volumes: - name: m2 @@ -44,7 +44,7 @@ volumes: steps: - name: publish maven central - image: maven:3.9-eclipse-temurin-21-alpine + image: hub.docker.struchkov.dev/maven:3.9-eclipse-temurin-17-alpine privileged: true volumes: - name: m2 @@ -80,7 +80,7 @@ volumes: steps: - name: publish struchkov nexus - image: maven:3.9-eclipse-temurin-21-alpine + image: hub.docker.struchkov.dev/maven:3.9-eclipse-temurin-17-alpine privileged: true volumes: - name: m2 @@ -100,6 +100,6 @@ steps: - mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy --- kind: signature -hmac: 54053652fcf007ed0aef0c401ecea7ef48e63c85d7e629ea69184f7dbe44079e +hmac: 35e7c21be35f906950e09e457265963407844b8d1899f46611805d575981ed99 ... 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 1bb43be..0506f7f 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_21) +@SupportedSourceVersion(SourceVersion.RELEASE_17) @AutoService(Processor.class) public class FieldNameProcessor extends AbstractProcessor {