Search Gradle plugins

com.kroegerama.openapi-kmp-gen

Owner: Chris

Generate modern API Clients in Kotlin multiplatform from OpenAPI specifications. Supports OpenAPI >= 3.0.0.

https://github.com/kroegerama/openapi-kmp-gen

Sources: https://github.com/kroegerama/openapi-kmp-gen.git

Version 1.0.0-rc02 (latest)

Created 24 November 2025.

Generate modern API Clients in Kotlin multiplatform from OpenAPI specifications. Supports OpenAPI >= 3.0.0.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.kroegerama.openapi-kmp-gen") version "1.0.0-rc02"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.kroegerama.openapi-kmp-gen:com.kroegerama.openapi-kmp-gen.gradle.plugin:1.0.0-rc02")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.kroegerama.openapi-kmp-gen")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.kroegerama.openapi-kmp-gen:com.kroegerama.openapi-kmp-gen.gradle.plugin:1.0.0-rc02")
      }
    }
    
    apply(plugin = "com.kroegerama.openapi-kmp-gen")
  • Applying plugins to all subprojects .