mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-23 05:49:59 +00:00
Fix nullability error in openapi-generator build file
This commit is contained in:
parent
d4a6a10850
commit
d9f9ff3a32
@ -51,7 +51,7 @@ tasks.register("generateSources", JavaExec::class) {
|
||||
mainClass.set(application.mainClass)
|
||||
classpath = sourceSets.main.get().runtimeClasspath
|
||||
|
||||
inputs.file(defaultConfig["openApiFile"])
|
||||
inputs.file(defaultConfig["openApiFile"]!!)
|
||||
outputs.dirs(defaultConfig["apiOutputDir"], defaultConfig["modelsOutputDir"])
|
||||
|
||||
args = listOf("generate") + defaultConfig
|
||||
@ -76,7 +76,7 @@ arrayOf(
|
||||
tasks.register("downloadApiSpec${flavorPascalCase}", de.undercouch.gradle.tasks.download.Download::class) {
|
||||
src("https://repo.jellyfin.org/releases/openapi/jellyfin-openapi-${flavor}.json")
|
||||
dest(defaultConfig["openApiFile"])
|
||||
outputs.file(defaultConfig["openApiFile"])
|
||||
outputs.file(defaultConfig["openApiFile"]!!)
|
||||
}
|
||||
|
||||
tasks.register("updateApiSpec${flavorPascalCase}") {
|
||||
|
Loading…
Reference in New Issue
Block a user