Skip to content

Commit

Permalink
Use implementation instead of adding to wrong configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Aug 12, 2024
1 parent dd61abe commit 59fc72d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ public void on(SourceSet sourceSet) {
sourceSetInheritanceExtension.from(sourceSet);

project.getDependencies().add(
target.getCompileClasspathConfigurationName(),
sourceSet.getOutput()
);
project.getDependencies().add(
target.getRuntimeClasspathConfigurationName(),
target.getImplementationConfigurationName(),
sourceSet.getOutput()
);
}
Expand Down

0 comments on commit 59fc72d

Please sign in to comment.