Skip to content

Commit

Permalink
Update PekkoGrpcPlugin.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jun 16, 2023
1 parent 1ca389e commit deb0f98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class PekkoGrpcPlugin implements Plugin<Project> {
}

String autodetectScala() {
def cfg = project.configurations.compileClasspath.copyRecursive()
def cfg = project.configurations.compileClasspath.copyRecursive(duplicatesStrategy=DuplicateStrategy.WARN)

def scalaVersions = cfg.incoming.resolutionResult.allDependencies
.findAll { it.requested.class != DefaultProjectComponentSelector }
Expand Down

0 comments on commit deb0f98

Please sign in to comment.