Monthly Archives: May 2024

Gradle – working with files

When working with files in Gradle, the key classes are: FileCollection FileTree – which extends FileCollection Getting a FileCollection You can get a file collection by using the files() method which is always available (from the Project object). FileCollection myFiles … Continue reading

Posted in Gradle, Java | Tagged , | Leave a comment

Debugging Gradle

If you are new to any tool or technology, knowing how to debug when things go wrong is a really important skill. This post gives some beginner tips on how to debug Gradle builds. Note: In the commands below, I’m … Continue reading

Posted in Gradle, Java | Tagged , | Leave a comment