Search Gradle plugins

org.smartbit4all.platform.gradle.openapi

Generic plugin for use with smartbit4all based projects, adds openApiGenerate<API> targets for OpenApi generation.

https://github.com/smartbit4all

Sources: https://github.com/smartbit4all/platform-gradle.git

Version 0.5.3 (latest)

Created 12 November 2024.

Generic plugin for use with smartbit4all based projects, adds openApiGenerate<API> targets for OpenApi generation.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.smartbit4all.platform.gradle.openapi") version "0.5.3"
}

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