aboutsummaryrefslogtreecommitdiffstats
path: root/openapi
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-05-07 14:20:16 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-05-07 14:20:16 +0200
commit25bd84ec32115b346cab66eeed9dc47cd574d12b (patch)
tree7c8cff4489fe48b54a1a40f152b0d86a56efd0ed /openapi
parentbe08f91dac2b018fb9a08c89e3961ebc0263a1a4 (diff)
Read app version from version.properties
- read app version from version.properties - make openapi dependencies compileOnly - run spotless formatter Issue-ID: PORTALNG-94 Change-Id: I3d3b9f057bc998d90763101ac8f3b32a0df280c1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'openapi')
-rw-r--r--openapi/client-history/build.gradle4
-rw-r--r--openapi/client-keycloak/build.gradle4
-rw-r--r--openapi/client-preferences/build.gradle4
-rw-r--r--openapi/server/build.gradle6
4 files changed, 9 insertions, 9 deletions
diff --git a/openapi/client-history/build.gradle b/openapi/client-history/build.gradle
index 20b5258..7b734d2 100644
--- a/openapi/client-history/build.gradle
+++ b/openapi/client-history/build.gradle
@@ -7,8 +7,8 @@ plugins {
}
dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-webflux'
- implementation "org.openapitools:openapi-generator:$openapiVersion"
+ compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
+ compileOnly "org.openapitools:openapi-generator:$openapiVersion"
}
openApiGenerate {
diff --git a/openapi/client-keycloak/build.gradle b/openapi/client-keycloak/build.gradle
index 46c842d..eff24ec 100644
--- a/openapi/client-keycloak/build.gradle
+++ b/openapi/client-keycloak/build.gradle
@@ -7,8 +7,8 @@ plugins {
}
dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-webflux'
- implementation "org.openapitools:openapi-generator:$openapiVersion"
+ compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
+ compileOnly "org.openapitools:openapi-generator:$openapiVersion"
}
openApiGenerate {
diff --git a/openapi/client-preferences/build.gradle b/openapi/client-preferences/build.gradle
index 208b20d..668dc37 100644
--- a/openapi/client-preferences/build.gradle
+++ b/openapi/client-preferences/build.gradle
@@ -7,8 +7,8 @@ plugins {
}
dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-webflux'
- implementation "org.openapitools:openapi-generator:$openapiVersion"
+ compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
+ compileOnly "org.openapitools:openapi-generator:$openapiVersion"
}
openApiGenerate {
diff --git a/openapi/server/build.gradle b/openapi/server/build.gradle
index 78c5103..bdb7b1e 100644
--- a/openapi/server/build.gradle
+++ b/openapi/server/build.gradle
@@ -7,12 +7,12 @@ plugins {
}
dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-webflux'
- implementation "org.openapitools:openapi-generator:$openapiVersion"
+ compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
+ compileOnly "org.openapitools:openapi-generator:$openapiVersion"
// implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
constraints {
- implementation('io.swagger.core.v3:swagger-annotations:2.2.5') {
+ compileOnly('io.swagger.core.v3:swagger-annotations:2.2.5') {
because 'there is a dependency conflict between swagger-parser versions 2 and 3 (https://github.com/OpenAPITools/openapi-generator/issues/14901)'
}
}