org.gradle.hello-world
The “hello world” of Gradle plugins. Adds a task named ‘helloWorld’ that, you guessed it, prints “Hello world!”.
https://github.com/gradle/gradle-hello-world-plugin
Version 0.2 (latest)
0.2
Created 06 June 2014.
Does exactly the same thing as version 0.1.
Using the plugins DSL:
plugins {
id("org.gradle.hello-world") version "0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("org.gradle:gradle-hello-world-plugin:0.2")
}
}
apply(plugin = "org.gradle.hello-world")
Using the plugins DSL:
plugins {
id "org.gradle.hello-world" version "0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.gradle:gradle-hello-world-plugin:0.2"
}
}
apply plugin: "org.gradle.hello-world"