Search Gradle plugins

io.github.davidburstrom.version-compatibility

Sets up a compatibility test suite against given versions of one or more dependencies, and sets up source sets to create compatibility adapters for different versions of a dependency. This is useful in any context where the runtime dependencies of a program is a matter of configuration, e.g. when integrating a 3rd party tool in a software suite.

https://github.com/davidburstrom/version-compatibility-gradle-plugin

Sources: https://github.com/davidburstrom/version-compatibility-gradle-plugin

Version 0.5.0 (latest)

Created 28 March 2023.

Sets up a compatibility test suite against given versions of one or more dependencies, and sets up source sets to create compatibility adapters for different versions of a dependency. This is useful in any context where the runtime dependencies of a program is a matter of configuration, e.g. when integrating a 3rd party tool in a software suite.

Add this plugin to your build using the plugins DSL:

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