/gradle-com.example.hello-plugin

Example Gradle Plug-in written in Kotlin

Primary LanguageKotlinApache License 2.0Apache-2.0

gradle-com.example.hello-plugin

Example Gradle Plug-in written in Kotlin

Usage

build.gradle:

plugins {
    id 'com.example.hello' version '0.1-SNAPSHOT'
}

build.gradle.kts:

plugins {
    id("com.example.hello") version "0.1-SNAPSHOT"
}

That will create the hello task.

Run the hello task with this command:

./gradlew hello