mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-24 01:52:07 +01:00
12 custom plugin
This commit is contained in:
2
12-custom-plugin/build.gradle
Normal file
2
12-custom-plugin/build.gradle
Normal file
@@ -0,0 +1,2 @@
|
||||
apply from: "helloPlugin.gradle"
|
||||
|
||||
8
12-custom-plugin/helloPlugin.gradle
Normal file
8
12-custom-plugin/helloPlugin.gradle
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
task helloFromPlugin() {
|
||||
description "Say Hello! Code implemented in plugin."
|
||||
doLast {
|
||||
println "Hello from plugin!"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user