Search Gradle plugins

Version 0.0.1 (latest)

Created 25 July 2019.

My first gradle plugin

Using the plugins DSL:

plugins {
  id "com.ramesh.gradleplugin" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.ramesh:my-gradle-plugin:1.0-SNAPSHOT"
  }
}

apply plugin: "com.ramesh.gradleplugin"

Using the plugins DSL:

plugins {
  id("com.ramesh.gradleplugin") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.ramesh:my-gradle-plugin:1.0-SNAPSHOT")
  }
}

apply(plugin = "com.ramesh.gradleplugin")

Learn how to apply plugins to subprojects