*.java, compile, *.class, dex, *.dex, /res/*, apkbuilder, app.apk
input files -> task -> output files
$ gradle groovy FAILURE: Build failed with an exception. * What went wrong: Task 'groovy' not found in root project '1.12-Exercise-ExploreIncrementalBuilds'. * Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 6.74 secs
Gradle ClI, gradle.properties files, Environmental variables
creating custom type
class HelloTask extends DefaultTask { @TaskAction void doAction(){ println 'Hello World' } } task hello(type: HelloTask)
[vagrant@localhost ud867]$ gradle hello :hello Hello World BUILD SUCCESSFUL Total time: 6.504 secs