2. Gradle? What is it?
• Build automation tool
– building, testing, deployment, reporting etc.
• Domain Specific Language (DSL) based on Groovy
• Combines the power and flexibility of Ant with the
dependency management and conventions of Maven.
• Features are added by plugins.
• Out-of-the-box support: Java, Groovy, Scala, Web, OSGi
• Free and Open Source (Apache Licence)
www.adastra.cz 2
4. Project & Task
• Project represents a component which can be built.
• Project defines a related set of tasks.
ProjectDir/build.gradle
• Task is an atomic unit of work which a build performs.
task helloWorld << {
println 'Hello, world!'
}
www.adastra.cz 4