Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 343af3f

Browse files
committed
Fix groovydoc task
by defining USAGE variant for documentation configuration to avoid Gradle variant ambiguity.
1 parent 5aea200 commit 343af3f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,12 @@ subprojects { project ->
141141
}
142142
}
143143

144-
configurations {
145-
documentation
144+
apply plugin: 'groovy'
145+
146+
configurations.create('documentation') {
147+
attributes {
148+
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
149+
}
146150
}
147151

148152
// Uncomment below code to force refresh dependencies

0 commit comments

Comments
 (0)