Updated Quarkus version

This commit is contained in:
dankito 2024-10-01 18:29:28 +02:00
parent 306f3cccda
commit 96e8f4f986
6 changed files with 11 additions and 12 deletions

View File

@ -47,8 +47,8 @@ dependencies {
allOpen { allOpen {
annotation("javax.ws.rs.Path") annotation("jakarta.ws.rs.Path")
annotation("javax.enterprise.context.ApplicationScoped") annotation("jakarta.enterprise.context.ApplicationScoped")
annotation("io.quarkus.test.junit.QuarkusTest") annotation("io.quarkus.test.junit.QuarkusTest")
} }

View File

@ -1,5 +1,9 @@
package net.codinux.banking.epcqrcode.rest package net.codinux.banking.epcqrcode.rest
import jakarta.inject.Inject
import jakarta.ws.rs.*
import jakarta.ws.rs.core.MediaType
import jakarta.ws.rs.core.Response
import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeRequest import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeRequest
import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeResponse import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeResponse
import net.codinux.banking.epcqrcode.rest.service.EpcQrCodeService import net.codinux.banking.epcqrcode.rest.service.EpcQrCodeService
@ -12,11 +16,6 @@ import org.eclipse.microprofile.openapi.annotations.responses.APIResponse
import org.eclipse.microprofile.openapi.annotations.tags.Tag import org.eclipse.microprofile.openapi.annotations.tags.Tag
import org.jboss.resteasy.annotations.GZIP import org.jboss.resteasy.annotations.GZIP
import org.slf4j.LoggerFactory import org.slf4j.LoggerFactory
import java.util.*
import javax.inject.Inject
import javax.ws.rs.*
import javax.ws.rs.core.MediaType
import javax.ws.rs.core.Response
@Path("/epcqrcode/v1") @Path("/epcqrcode/v1")

View File

@ -1,12 +1,12 @@
package net.codinux.banking.epcqrcode.rest.dto package net.codinux.banking.epcqrcode.rest.dto
import jakarta.ws.rs.DefaultValue
import jakarta.ws.rs.QueryParam
import net.codinux.banking.epcqrcode.EpcQrCode import net.codinux.banking.epcqrcode.EpcQrCode
import net.codinux.banking.epcqrcode.EpcQrCodeCharacterSet import net.codinux.banking.epcqrcode.EpcQrCodeCharacterSet
import net.codinux.banking.epcqrcode.ImageFormat import net.codinux.banking.epcqrcode.ImageFormat
import org.eclipse.microprofile.openapi.annotations.media.Schema import org.eclipse.microprofile.openapi.annotations.media.Schema
import org.eclipse.microprofile.openapi.annotations.parameters.Parameter import org.eclipse.microprofile.openapi.annotations.parameters.Parameter
import javax.ws.rs.DefaultValue
import javax.ws.rs.QueryParam
data class GenerateEpcQrCodeRequest( data class GenerateEpcQrCodeRequest(

View File

@ -1,11 +1,11 @@
package net.codinux.banking.epcqrcode.rest.service package net.codinux.banking.epcqrcode.rest.service
import jakarta.enterprise.context.ApplicationScoped
import net.codinux.banking.epcqrcode.EpcQrCode import net.codinux.banking.epcqrcode.EpcQrCode
import net.codinux.banking.epcqrcode.EpcQrCodeConfig import net.codinux.banking.epcqrcode.EpcQrCodeConfig
import net.codinux.banking.epcqrcode.EpcQrCodeGenerator import net.codinux.banking.epcqrcode.EpcQrCodeGenerator
import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeRequest import net.codinux.banking.epcqrcode.rest.dto.GenerateEpcQrCodeRequest
import java.util.* import java.util.*
import javax.enterprise.context.ApplicationScoped
@ApplicationScoped @ApplicationScoped
class EpcQrCodeService { class EpcQrCodeService {

View File

@ -1,6 +1,6 @@
package net.codinux.banking.epcqrcode.rest.service package net.codinux.banking.epcqrcode.rest.service
import javax.enterprise.context.ApplicationScoped import jakarta.enterprise.context.ApplicationScoped
@ApplicationScoped @ApplicationScoped
class HtmlService { class HtmlService {

View File

@ -10,7 +10,7 @@ kotlinVersion=1.8.20
coroutinesVersion=1.6.0 coroutinesVersion=1.6.0
quarkusVersion=2.16.6.Final quarkusVersion=3.5.0
android.useAndroidX=true android.useAndroidX=true