I\'m trying to verify that my source and target paths are properly setup when I execute a deploy command.
See the example below:
(copied from: http://eppz.eu/blog/u
Gradle scripts are written in Groovy language. It is possible to log into console your own messages.
If your Gradle version of your project is 3.2.1 or above then there is a simple option for logging in your build file which is to write messages to standard output. Gradle redirects anything written to standard output to it's logging system.
Example
println 'A message which is logged at QUIET level'
Gradle logging system allows us to log message into multiple log levels (LIFECYCLE, QUIET, INFO, DEBUG )
Please go through below link for detailed study
https://docs.gradle.org/current/userguide/logging.html