@@ -30,7 +30,6 @@ val activationVersion = "1.1.1"
30
30
val nvi18nVersion = " 1.27"
31
31
val kotestVersion = " 4.2.5"
32
32
val swaggerRequestValidatorVersion = " 2.33.1"
33
- val swaggerUiVersion = " 4.15.0"
34
33
// Temporary to fix high severity Snyk vulnerabilities:
35
34
val nettyVersion = " 4.1.68.Final"
36
35
val commonsCodecVersion = " 3.2.2"
@@ -48,7 +47,6 @@ plugins {
48
47
id(" com.github.johnrengelman.shadow" ) version " 7.0.0"
49
48
id(" com.expediagroup.graphql" ) version " 4.0.0" apply false
50
49
id(" com.github.ben-manes.versions" ) version " 0.29.0"
51
- id(" org.hidetake.swagger.generator" ) version " 2.18.2" apply true
52
50
id(" org.jetbrains.kotlin.plugin.serialization" ) version " 1.7.10"
53
51
}
54
52
@@ -145,7 +143,6 @@ dependencies {
145
143
implementation(" no.bekk.bekkopen:nocommons:$nocommonsVersion " )
146
144
implementation(" com.expediagroup:graphql-kotlin-ktor-client:$graphqlKotlinClientVersion " )
147
145
implementation(" com.neovisionaries:nv-i18n:$nvi18nVersion " )
148
- swaggerUI(" org.webjars:swagger-ui:$swaggerUiVersion " )
149
146
150
147
implementation(" commons-collections:commons-collections:$commonsCodecVersion " )
151
148
implementation(" org.apache.httpcomponents:httpclient:$httpClientVersion " )
@@ -191,12 +188,6 @@ java {
191
188
targetCompatibility = JavaVersion .VERSION_20
192
189
}
193
190
194
- swaggerSources {
195
- create(" lovme-api" ).apply {
196
- setInputFile(file(" src/main/resources/lovme.yaml" ))
197
- }
198
- }
199
-
200
191
tasks {
201
192
withType<KotlinCompile > {
202
193
kotlinOptions.jvmTarget = " 20"
@@ -209,12 +200,7 @@ tasks {
209
200
}
210
201
}
211
202
212
- withType< org.hidetake.gradle.swagger.generator.GenerateSwaggerUI > {
213
- outputDir = File (buildDir.path + " /resources/main/api" )
214
- }
215
-
216
203
withType<ShadowJar > {
217
- dependsOn(" generateSwaggerUI" )
218
204
archiveBaseName.set(" app" )
219
205
archiveClassifier.set(" " )
220
206
manifest {
0 commit comments