Gradle is the latest and greatest Java build tool, providing the power of Maven but with a far more readable, maintainable, and powerful development model.
This course is an introduction to Gradle. Gradle is a Java tool that manages your build environment; it is the new-ish kid on the block of Java build tools and is the tool that Android Studio uses to build Android applications. Gradle lets you compile and test your code, create jars and wars for your applications, generate Javadoc, and much, much more. It is highly and easily extendable. While Gradle itself is written in Java, it provides a DSL that’s written in Groovy in which you write the configuration scripts. This course covers the basics of Gradle, from writing tasks in the DSL, through running Java builds and unit testing, on to ways to extend the build language itself. Gradle does not provide its own dependency management system but instead can use Maven’s or Ivy’s; we see how to configure and use both of those systems. Finally the class looks at the Gradle 'wrapper', a mechanism to ensure your developers always use the correct version of Gradle.
Course SyllabusIntroduction- 18m 59s
—Introduction to Gradle 3m 14s
—Gradle Compared to Ant and Maven 3m 29s
—Installing Gradle 4m 28s
—Running Gradle for the First Time 4m 8s
—Introduction to the Gradle Wrapper 3m 38sBasic Gradle Tasks- 20m 50s
—Introduction 0m 54s
—Writing Simple Tasks 4m 56s
—Running Tasks 5m 33s
—Task Phases 2m 41s
—Task Dependencies 3m 45s
—Setting Properties on Tasks 2m 59sTask Dependencies- 17m 18sTyped Tasks- 11m 36sBuilding a Java Project- 24m 15sDependencies- 14m 7sTesting- 16m 13sGradle Wrapper- 12m 19s