Search Gradle plugins

Version 1.0.0 (latest)

Created 30 January 2019.

Auto-generates version class file using Git and Gradle

Using the plugins DSL:

plugins {
  id("com.peterabeles.nativehelper") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.peterabeles.nativehelper:native-helper-plugin:1.0.0")
  }
}

apply(plugin = "com.peterabeles.nativehelper")

Using the plugins DSL:

plugins {
  id "com.peterabeles.nativehelper" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.peterabeles.nativehelper:native-helper-plugin:1.0.0"
  }
}

apply plugin: "com.peterabeles.nativehelper"

Learn how to apply plugins to subprojects