Skip to content

Commit

Permalink
Merge pull request #198 from nebula-plugins/fix-platform-support
Browse files Browse the repository at this point in the history
DependencyLockPlugin: lockConfiguration should change version via useVersion instead of useTarget
  • Loading branch information
rpalcolea authored Jul 31, 2020
2 parents cf18d34 + 940ef7d commit 8638c50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class DependencyLockPlugin : Plugin<Project> {
if (module != null) {
details.because("${moduleKey.toModuleString()} locked to ${module.version}\n" +
"\twith reasons: ${reasons.joinToString()}")
.useTarget(module.toMap())
.useVersion(module.version!!)
}
}
}
Expand Down

0 comments on commit 8638c50

Please sign in to comment.