Search Gradle plugins

Version 1.0-SNAPSHOT

1.0-SNAPSHOT

Created 14 March 2016.

Apply plugins globally to all Gradle projects.

Using the plugins DSL:

plugins {
  id("com.dvoiss.globalplugins") version "1.0-SNAPSHOT"
}

Using legacy plugin application:

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

apply(plugin = "com.dvoiss.globalplugins")

Using the plugins DSL:

plugins {
  id "com.dvoiss.globalplugins" version "1.0-SNAPSHOT"
}

Using legacy plugin application:

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

apply plugin: "com.dvoiss.globalplugins"

Learn how to apply plugins to subprojects