Search Gradle plugins

be.nrb.dt.swagger

Plugin to generate model and client from a swagger file. The generated code is based on lombok and Spring webclient

https://nrbdigital.be

Sources: https://github.com/brunofrankinrb/nrb-dt-swagger-plugin

Version 1.0.16 (latest)

Created 01 June 2021.

Plugin to generate model and client from a swagger file. The generated code is based on lombok and Spring webclient

Add this plugin to your build using the plugins DSL:

plugins {
  id("be.nrb.dt.swagger") version "1.0.16"
}

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("be.nrb.dt.swagger:be.nrb.dt.swagger.gradle.plugin:1.0.16")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("be.nrb.dt.swagger")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("be.nrb.dt.swagger:be.nrb.dt.swagger.gradle.plugin:1.0.16")
      }
    }
    
    apply(plugin = "be.nrb.dt.swagger")
  • Applying plugins to all subprojects .