diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-07 14:20:16 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-05-07 14:20:16 +0200 |
commit | 25bd84ec32115b346cab66eeed9dc47cd574d12b (patch) | |
tree | 7c8cff4489fe48b54a1a40f152b0d86a56efd0ed /openapi/server | |
parent | be08f91dac2b018fb9a08c89e3961ebc0263a1a4 (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/server')
-rw-r--r-- | openapi/server/build.gradle | 6 |
1 files changed, 3 insertions, 3 deletions
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)' } } |