Search Gradle plugins

io.redskap.swagger-brake

A plugin to check Swagger definition files for any breaking API changes

http://redskap.io

Sources: https://github.com/redskap/swagger-brake-gradle

Version 2.4.0 (latest)

Created 03 October 2023.

A plugin to check Swagger definition files for any breaking API changes

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.redskap.swagger-brake") version "2.4.0"
}

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