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)

0.5.0

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.

Using the plugins DSL:

plugins {
  id("io.github.davidburstrom.version-compatibility") version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.davidburstrom.gradle.version-compatibility:plugin:0.5.0")
  }
}

apply(plugin = "io.github.davidburstrom.version-compatibility")

Using the plugins DSL:

plugins {
  id "io.github.davidburstrom.version-compatibility" version "0.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.davidburstrom.gradle.version-compatibility:plugin:0.5.0"
  }
}

apply plugin: "io.github.davidburstrom.version-compatibility"

Learn how to apply plugins to subprojects