Skip to content

Instantly share code, notes, and snippets.

@martinbonnin
Last active November 25, 2019 19:52
Show Gist options
  • Save martinbonnin/0827c50b8fb59a14049c2f902c66fc47 to your computer and use it in GitHub Desktop.
Save martinbonnin/0827c50b8fb59a14049c2f902c66fc47 to your computer and use it in GitHub Desktop.
package com.example
class GreetingPlugin : Plugin<Project> {
override fun apply(project: Project) {
project.task("hello") {
doLast {
println("Hello from the GreetingPlugin")
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment