Search Gradle plugins

Version 0.1 (latest)

0.1

Created 20 September 2019.

This plugin add a Projetc version to the project's version property

Using the plugins DSL:

plugins {
  id("org.steinko.projectversion") version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.steinko.plugin:ProjectVersionPlugin:0.1")
  }
}

apply(plugin = "org.steinko.projectversion")

Using the plugins DSL:

plugins {
  id "org.steinko.projectversion" version "0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.steinko.plugin:ProjectVersionPlugin:0.1"
  }
}

apply plugin: "org.steinko.projectversion"

Learn how to apply plugins to subprojects