Adding code to compileFlex task
Hi, I'm trying to add code obfuscation to the build.
In order to do this I try
compileFlex.doFirst{
println "compile BEFORE"
}
and
compileFlex<<{
println "compile AFTER"
}
But both are not working.
The same approach works well for the "clean" task.
What I'm doing wrong?
Thank you
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Yennick Trevels on 12 Feb, 2013 07:43 AM
Can you try to log a message with "logger.error 'my message'" and see if your message appears (just for testing purposes)? Maybe this has something to do with how the standard output is handled since on of our latest versions.
2 Posted by Pavel Bernshtam on 12 Feb, 2013 08:59 AM
Yennick: you are right, logger.error shows the message
Support Staff 3 Posted by Yennick Trevels on 17 Feb, 2013 09:39 AM
I created an issue for this which you can find here: https://github.com/GradleFx/GradleFx/issues/86