File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
sbt-dotty/sbt-test/scala2-compat/eff Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1041,8 +1041,12 @@ object Build {
1041
1041
" -Dplugin.scalaVersion=" + dottyVersion,
1042
1042
" -Dsbt.boot.directory=" + ((baseDirectory in ThisBuild ).value / " .sbt-scripted" ).getAbsolutePath // Workaround sbt/sbt#3469
1043
1043
),
1044
- // Pass along ivy home setting to sbt instances run from the tests
1045
- scriptedLaunchOpts ++= ivyPaths.value.ivyHome.map(" -Dsbt.ivy.home=" + _.getAbsolutePath).toList,
1044
+ // Pass along ivy home and repositories settings to sbt instances run from the tests
1045
+ scriptedLaunchOpts ++= {
1046
+ val repositoryPath = (io.Path .userHome / " .sbt" / " repositories" ).absolutePath
1047
+ s " -Dsbt.repository.config= $repositoryPath" ::
1048
+ ivyPaths.value.ivyHome.map(" -Dsbt.ivy.home=" + _.getAbsolutePath).toList
1049
+ },
1046
1050
scriptedBufferLog := true ,
1047
1051
scripted := scripted.dependsOn(
1048
1052
publishLocal in `dotty-sbt-bridge`,
Original file line number Diff line number Diff line change 1
1
scalaVersion := sys.props(" plugin.scalaVersion" )
2
2
3
3
libraryDependencies +=
4
- (" org.atnos" %% " eff" % " 5.4.1 " ).withDottyCompat(scalaVersion.value)
4
+ (" org.atnos" %% " eff" % " 5.5.2 " ).withDottyCompat(scalaVersion.value)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ > compile
You can’t perform that action at this time.
0 commit comments