Search Gradle plugins

ru.bondarmih.contractVersion

Infer a project's version from your Git repository

http://ru.bondarmih

Version 0.13.0 (latest)

Created 06 February 2020.

Infer a project's version from your Git repository

Using the plugins DSL:

plugins {
  id "ru.bondarmih.contractVersion" version "0.13.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ru.bondarmih:reckon-gradle:0.13.0"
  }
}

apply plugin: "ru.bondarmih.contractVersion"

Using the plugins DSL:

plugins {
  id("ru.bondarmih.contractVersion") version "0.13.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ru.bondarmih:reckon-gradle:0.13.0")
  }
}

apply(plugin = "ru.bondarmih.contractVersion")

Learn how to apply plugins to subprojects