Skip to content

Commit 0b49100

Browse files
author
Stian S. Douzette
committed
fjerner swagger
1 parent 24275ca commit 0b49100

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

build.gradle.kts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ val activationVersion = "1.1.1"
3030
val nvi18nVersion = "1.27"
3131
val kotestVersion = "4.2.5"
3232
val swaggerRequestValidatorVersion = "2.33.1"
33-
val swaggerUiVersion = "4.15.0"
3433
// Temporary to fix high severity Snyk vulnerabilities:
3534
val nettyVersion = "4.1.68.Final"
3635
val commonsCodecVersion = "3.2.2"
@@ -48,7 +47,6 @@ plugins {
4847
id("com.github.johnrengelman.shadow") version "7.0.0"
4948
id("com.expediagroup.graphql") version "4.0.0" apply false
5049
id("com.github.ben-manes.versions") version "0.29.0"
51-
id("org.hidetake.swagger.generator") version "2.18.2" apply true
5250
id("org.jetbrains.kotlin.plugin.serialization") version "1.7.10"
5351
}
5452

@@ -145,7 +143,6 @@ dependencies {
145143
implementation("no.bekk.bekkopen:nocommons:$nocommonsVersion")
146144
implementation("com.expediagroup:graphql-kotlin-ktor-client:$graphqlKotlinClientVersion")
147145
implementation("com.neovisionaries:nv-i18n:$nvi18nVersion")
148-
swaggerUI("org.webjars:swagger-ui:$swaggerUiVersion")
149146

150147
implementation("commons-collections:commons-collections:$commonsCodecVersion")
151148
implementation("org.apache.httpcomponents:httpclient:$httpClientVersion")
@@ -191,12 +188,6 @@ java {
191188
targetCompatibility = JavaVersion.VERSION_20
192189
}
193190

194-
swaggerSources {
195-
create("lovme-api").apply {
196-
setInputFile(file("src/main/resources/lovme.yaml"))
197-
}
198-
}
199-
200191
tasks {
201192
withType<KotlinCompile> {
202193
kotlinOptions.jvmTarget = "20"
@@ -209,12 +200,7 @@ tasks {
209200
}
210201
}
211202

212-
withType<org.hidetake.gradle.swagger.generator.GenerateSwaggerUI> {
213-
outputDir = File(buildDir.path + "/resources/main/api")
214-
}
215-
216203
withType<ShadowJar> {
217-
dependsOn("generateSwaggerUI")
218204
archiveBaseName.set("app")
219205
archiveClassifier.set("")
220206
manifest {

0 commit comments

Comments
 (0)