Search Gradle plugins

Version 1.2.1

1.2.1

Created 30 January 2019.

Sets a project version from a properties file.

Using the plugins DSL:

plugins {
  id("com.pluribuslabs.gradle.artifactversion") version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.pluribuslabs:artifact-version-plugin:1.2.1")
  }
}

apply(plugin = "com.pluribuslabs.gradle.artifactversion")

Using the plugins DSL:

plugins {
  id "com.pluribuslabs.gradle.artifactversion" version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.pluribuslabs:artifact-version-plugin:1.2.1"
  }
}

apply plugin: "com.pluribuslabs.gradle.artifactversion"

Learn how to apply plugins to subprojects