Closed chrisr3 closed 1 year ago
Gradle 8+ requires each Configuration's canBeConsumed, canBeResolved and canBeDeclared flags to be set consistently.
Configuration
canBeConsumed
canBeResolved
canBeDeclared
setCanBeDeclared() was introduced in Gradle 8.2, so set this flag reflectively to preserve the plugin's compatibility with Gradle 7.
setCanBeDeclared()
Gradle 8+ requires each
Configuration
'scanBeConsumed
,canBeResolved
andcanBeDeclared
flags to be set consistently.canBeConsumed
,canBeResolved
must not both be true.canBeConsumed
,canBeDeclared
must not both be true.setCanBeDeclared()
was introduced in Gradle 8.2, so set this flag reflectively to preserve the plugin's compatibility with Gradle 7.