aboutsummaryrefslogtreecommitdiffstats
path: root/openapi/server
diff options
context:
space:
mode:
Diffstat (limited to 'openapi/server')
-rw-r--r--openapi/server/build.gradle16
1 files changed, 14 insertions, 2 deletions
diff --git a/openapi/server/build.gradle b/openapi/server/build.gradle
index 6cdc456..017a618 100644
--- a/openapi/server/build.gradle
+++ b/openapi/server/build.gradle
@@ -1,11 +1,15 @@
plugins {
+ id 'java'
+ id 'idea'
+ id 'org.springframework.boot'
+ id 'io.spring.dependency-management'
id 'org.openapi.generator'
}
dependencies {
- implementation "org.springframework.boot:spring-boot-starter-webflux"
+ implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation "org.openapitools:openapi-generator:$openapiVersion"
- implementation "org.webjars:redoc:$redocVersion"
+ // implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
constraints {
implementation('io.swagger.core.v3:swagger-annotations:2.2.5') {
@@ -55,3 +59,11 @@ idea {
generatedSourceDirs += file("$buildDir/openapi/src/main/java")
}
}
+
+bootJar {
+ enabled = false
+}
+
+jar {
+ enabled = true
+} \ No newline at end of file