Created
March 13, 2018 18:51
-
-
Save amadeu01/58e90abfeda81dad5c911d3fef45df83 to your computer and use it in GitHub Desktop.
My example of gradle file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.* | |
task helloWorld { | |
description = 'My hello world' | |
doLast { | |
println "Hello World" | |
} | |
} | |
task printDate { | |
description = 'Print date' | |
doLast { | |
println new Date() | |
println LocalDateTime.now() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can run it by type