Search Gradle plugins

Version 0.1.3 (latest)

0.1.3

Created 24 December 2023.

The version companion plugin automatically detects the current version of the project based on git tags.

Using the plugins DSL:

plugins {
  id("io.github.dwarfley.version-companion") version "0.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.dwarfley:gradle-version-companion:0.1.3")
  }
}

apply(plugin = "io.github.dwarfley.version-companion")

Using the plugins DSL:

plugins {
  id "io.github.dwarfley.version-companion" version "0.1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.dwarfley:gradle-version-companion:0.1.3"
  }
}

apply plugin: "io.github.dwarfley.version-companion"

Learn how to apply plugins to subprojects