Gradle - Variable

Gradle - Variable

Management

Set

Build file

description = "A trivial Gradle build"
version = "1.0"
val vertxVersion = "3.8.4"

var failFast: String = project.properties.getOrDefault("failFast", "false") as String

Documentation / Reference





Discover More
Gradle - Project Property

Project property is a type property that has a project scope You can access a project property in your build script simply by using its name as you would use a variable. Example: project property...
Gradle - Property

Properties are a way to define the environment of a build. Gradle has three different property scope: - java system property - project property - plugin property extra properties ...



Share this page:
Follow us:
Task Runner