offline

abstract val offline: Property<Boolean>

Whether the build is running in offline mode. It is set with Gradle --offline option.

When true, an already installed distribution is reused, and a missing one fails the build instead of being downloaded.