api / org.gradle.api.artifacts / ExternalModuleDependency / setChanging

setChanging

abstract fun setChanging(changing: Boolean): ExternalModuleDependency

Sets whether or not Gradle should always check for a change in the remote repository. If set to true, Gradle will check the remote repository even if a dependency with the same version is already in the local cache. Defaults to false.

Parameters

changing - Whether or not Gradle should always check for a change in the remote repository

Return
this