Skip to content

Commit

Permalink
Fix variant-selection for javadoc sources
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Mar 20, 2023
1 parent bd7e3a0 commit c726202
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ private void createConfigurations(Project project) {
javadocSources.setTransitive(false);
javadocSources.setCanBeConsumed(false);
javadocSources.setCanBeResolved(true);
javadocSources.getAttributes().attribute(Category.CATEGORY_ATTRIBUTE, project.getObjects().named(Category.class, Category.VERIFICATION));
javadocSources.getAttributes().attribute(DocsType.DOCS_TYPE_ATTRIBUTE, project.getObjects().named(DocsType.class, DocsType.SOURCES));
javadocSources.getAttributes().attribute(VerificationType.VERIFICATION_TYPE_ATTRIBUTE, project.getObjects().named(VerificationType.class, VerificationType.MAIN_SOURCES));
javadocSources.extendsFrom(javadocConfiguration);
Expand Down

0 comments on commit c726202

Please sign in to comment.