In this tutorial, we will show how to reuse code in Gradle, using a class that is available only for the Gradle files. Please take a look at the source code and explanations here: https://github.com/topera/gradle-reusing-code Enjoy!
Tag: groovy
Tip #004: Spock with Gradle
In this tutorial we will show to to create unit tests using Spock. Spock is a test frameworking similiar to jUnit but uses the Groovy, a JVM language that makes your life easier 🙂 Gradle is used as automation tool. Please take at look at the source code here: https://github.com/topera/gradle-spock Enjoy