mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-07-06 13:05:16 +02:00
Add example with custom task in one and separate files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
apply plugin: 'groovy'
|
||||
|
||||
import com.ysoft.greeting.GreetingTask
|
||||
|
||||
task hello(type: GreetingTask)
|
||||
|
||||
// Customize the greeting
|
||||
task greeting(type: GreetingTask) {
|
||||
greeting = 'greetings from Brno'
|
||||
}
|
||||
Reference in New Issue
Block a user