Search Gradle plugins

com.kroegerama.openapi-kgen.gradle-plugin

Owner: Chris

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

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

Version 0.11.0 (latest)

Created 16 November 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.11.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects