Skip to content

Commit 3573279

Browse files
committed
Use sonatype:releases in scripted tests.
To avoid having to wait 30 minutes for scalameta release to sync to maven.
1 parent 8ce1f92 commit 3573279

File tree

1 file changed

+7
-2
lines changed
  • scalafix-sbt/src/sbt-test/sbt-scalafix/cross-build

1 file changed

+7
-2
lines changed

scalafix-sbt/src/sbt-test/sbt-scalafix/cross-build/build.sbt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import _root_.scalafix.Versions
2-
updateOptions in ThisBuild := updateOptions.value.withLatestSnapshots(false)
3-
scalacOptions in ThisBuild += "-Ywarn-adapted-args" // For NoAutoTupling
2+
inThisBuild(
3+
List(
4+
updateOptions := updateOptions.value.withLatestSnapshots(false),
5+
scalacOptions += "-Ywarn-adapted-args", // For NoAutoTupling
6+
resolvers += Resolver.sonatypeRepo("releases")
7+
)
8+
)
49
lazy val root = project
510
.in(file("."))
611
.aggregate(

0 commit comments

Comments
 (0)