mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-21 00:29:26 +01:00
add sample for debugging gradle script
This commit is contained in:
16
18-debug-gradle-script/build.gradle
Normal file
16
18-debug-gradle-script/build.gradle
Normal file
@@ -0,0 +1,16 @@
|
||||
class Brno {
|
||||
def stopMe() {
|
||||
def message = "Good place for break point."
|
||||
println message
|
||||
}
|
||||
}
|
||||
|
||||
task hello {
|
||||
doLast {
|
||||
println "You can't stop me here!"
|
||||
def city = new Brno()
|
||||
city.stopMe()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user