Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions api-client-ktor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ val generatorTask = tasks.register("generateKtorClient", GenerateTask::class) {
inputSpec = project(":redocly")
.layout.projectDirectory
.file("bundled/git-connector-v1.yaml")
.asFile.absolutePath
outputDir =
layout.buildDirectory
.dir("generated/ktor")
.get()
.asFile.absolutePath
outputDir = layout.buildDirectory.dir("generated/ktor")
//importMappings.put("UUID", "kotlin.uuid.Uuid")
}

Expand Down
8 changes: 1 addition & 7 deletions client-ts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ fun registerNpmPackageTasks(
project(":redocly")
.layout.buildDirectory
.file("joined.yaml")
.get()
.asFile.absolutePath
configOptions =
mapOf(
"npmRepository" to "https://artifacts.itemis.cloud/repository/npm-open/",
Expand All @@ -45,11 +43,7 @@ fun registerNpmPackageTasks(
gitUserId = "modelix"
gitRepoId = "modelix.openapi"
generatorName = openApiGeneratorName
outputDir =
layout.buildDirectory
.dir("generate/$openApiGeneratorName")
.get()
.asFile.absolutePath
outputDir = clientBuildDir
}

// Task to run 'pnpm install'
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ ktor-serialization-json = { group = "io.ktor", name = "ktor-serialization-kotlin
gitVersion = { id = "com.palantir.git-version", version = "5.1.0" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
openapi-generator = {id = "org.openapi.generator", version = "7.21.0"}
openapi-generator = {id = "org.openapi.generator", version = "7.25.0"}
fabrikt = { id = "ch.acanda.gradle.fabrikt", version = "1.40.0" }
node = {id = "com.github.node-gradle.node", version = "7.1.0"}
Loading