api / org.gradle / StartParameter / isOffline

isOffline

open fun isOffline(): Boolean

Specifies whether the build should be performed offline (ie without network access).