Search Gradle plugins

com.kroegerama.openapi-kgen.gradle-plugin

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

https://github.com/kroegerama/openapi-kgen

Version 0.9.11 (latest)

Created 19 May 2020.

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

Using the plugins DSL:

plugins {
  id "com.kroegerama.openapi-kgen.gradle-plugin" version "0.9.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.kroegerama.openapi-kgen:gradle-plugin:0.9.11"
  }
}

apply plugin: "com.kroegerama.openapi-kgen.gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.kroegerama.openapi-kgen.gradle-plugin") version "0.9.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.kroegerama.openapi-kgen:gradle-plugin:0.9.11")
  }
}

apply(plugin = "com.kroegerama.openapi-kgen.gradle-plugin")

Learn how to apply plugins to subprojects