Skip to content

Commit 91db45d

Browse files
committed
checksum-dependency: set isCanBeConsumed = false on the created detached configuration so Gradle does not provide a warning
1 parent 513ca43 commit 91db45d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/checksum-dependency-plugin/src/main/kotlin/com/github/vlsi/gradle/checksum/ChecksumDependency.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class ChecksumDependency(
139139
val dependencyFactory = settings.gradle.rootProject.dependencies
140140
val pgpConfiguration = dependencies.configurationContainer.detachedConfiguration()
141141
pgpConfiguration.apply {
142+
pgpConfiguration.isCanBeConsumed = false
142143
attributes {
143144
for (attrKey in dependencies.attributes.keySet()) {
144145
attrKey as Attribute<Any>

0 commit comments

Comments
 (0)