Search Gradle plugins

dk.danskespil.gradle.plugins.release-branch

Handles releasing with versions, takes care of tagging in git and inference of version numbers. Based on ajoberstar gradle plugins and inspired by netflix nebula gradle plugin. Slightly opiniated. Can add branch names into tags and inferred versions

https://github.com/danskespil/gradle-plugin-release

Sources: https://github.com/danskespil/gradle-plugin-release

Version 0.1.7-SNAPSHOT

Created 06 February 2018.

Handles releasing with versions, takes care of tagging in git and inference of version numbers. Based on ajoberstar gradle plugins and inspired by netflix nebula gradle plugin. Slightly opiniated. Can add branch names into tags and inferred versions

Add this plugin to your build using the plugins DSL:

plugins {
  id("dk.danskespil.gradle.plugins.release-branch") version "0.1.7-SNAPSHOT"
}

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