put sbtCp ahead of resolved JARs

Ref https://github.com/sbt/sbt/pull/4443
Ref https://github.com/coursier/coursier/issues/1128

This is a workaround for Coursier not excluding sbt modules.
This commit is contained in:
Eugene Yokota 2019-04-19 16:43:17 -04:00
parent 5614cfcbb6
commit 944e955d06
1 changed files with 1 additions and 1 deletions

View File

@ -1924,7 +1924,7 @@ object Classpaths {
classpathTypes.value,
update.value
)
if (isMeta && !force) mjars ++ sbtCp
if (isMeta && !force) sbtCp ++ mjars
else mjars
},
exportedProducts := trackedExportedProducts(TrackLevel.TrackAlways).value,