Skip to content

Commit

Permalink
fixing compiler warnings
Browse files Browse the repository at this point in the history
Signed-off-by: klehner <[email protected]>
  • Loading branch information
klu2 committed Nov 5, 2023
1 parent 599a9da commit e4573f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class SwaggerCodegenConfigurePlugin : Plugin<Project> {
generateSwaggerCode.inputs.file(apiDescriptor.swaggerPath!!)
generateSwaggerCode.outputs.dir(it.code.outputDir)

clean.doFirst { t ->
clean.doFirst { _ ->
project.delete(it.code.outputDir)
}
}
Expand Down Expand Up @@ -320,4 +320,4 @@ class SwaggerCodegenConfigurePlugin : Plugin<Project> {

private val LOG = Logging.getLogger("io.cloudflight.gradle.swagger")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ internal fun addApiDocumentationPublication(
basename: Provider<String>,
format: Provider<OpenApiFormat>
): PublishArtifact {
val fileName = basename.zip(format) { name, format ->
"${name}.${format.extension}"
val fileName = basename.zip(format) { name, f ->
"${name}.${f.extension}"
}

return artifacts.add(
Expand Down

0 comments on commit e4573f7

Please sign in to comment.