Build.gradle: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* <tt>println</tt> | * <tt>println</tt> | ||
* Variable declarations | * [[#Variables|Variable declarations]]. | ||
=Variables= | |||
There are two kinds of variables that can be declared in a build script: local variables and extra properties: | |||
==Local Variables== | |||
==Extra Properties== |
Revision as of 00:24, 1 May 2018
External
Internal
Overview
The project-level configuration script that contains task configuration for the current project, written in the Gradle's DSL. The build script can contain any Groovy language element. May contain the following:
- println
- Variable declarations.
Variables
There are two kinds of variables that can be declared in a build script: local variables and extra properties: