From 60f65af335af6c492322acc958026a94363eaa58 Mon Sep 17 00:00:00 2001 From: Jostein Gogstad Date: Wed, 26 Oct 2022 09:08:42 +0200 Subject: [PATCH] bind versionPolicyModuleVersionExtractor in build settings, not project settings --- .../scala/sbtversionpolicy/SbtVersionPolicySettings.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala b/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala index f62b095..c06b5df 100644 --- a/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala +++ b/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala @@ -31,7 +31,6 @@ object SbtVersionPolicySettings { versionPolicyDependencyResolution := CoursierDependencyResolution(versionPolicyCsrConfiguration.value), versionPolicyUpdateConfiguration := updateConfiguration.value, versionPolicyUnresolvedWarningConfiguration := (update / unresolvedWarningConfiguration).value, - versionPolicyModuleVersionExtractor := PartialFunction.empty, versionPolicyScalaModuleInfo := scalaModuleInfo.value ) @@ -51,7 +50,8 @@ object SbtVersionPolicySettings { versionPolicyDefaultDependencySchemes := defaultSchemes, versionPolicyIgnored := Seq.empty, versionPolicyDefaultScheme := None, - versionPolicyIgnoredInternalDependencyVersions := None + versionPolicyIgnoredInternalDependencyVersions := None, + versionPolicyModuleVersionExtractor := PartialFunction.empty ) def reconciliationSettings = Def.settings(