File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
core/src/main/scala/sbt/librarymanagement Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ private[librarymanagement] abstract class ResolverFunctions {
110110 val SonatypeReleasesRepository =
111111 " https://oss.sonatype.org/service/local/repositories/releases/content/"
112112 val SonatypeCentralRepository = " https://central.sonatype.com/repository"
113+ val ScalaNightlyRepository = " https://repo.scala-lang.org/artifactory/maven-nightlies/"
113114 val JavaNet2RepositoryName = " java.net Maven2 Repository"
114115 val JavaNet2RepositoryRoot = javanet2RepositoryRoot(useSecureResolvers)
115116 val JCenterRepositoryName = " jcenter"
@@ -122,6 +123,8 @@ private[librarymanagement] abstract class ResolverFunctions {
122123
123124 def mavenCentral : Resolver = DefaultMavenRepository
124125 def defaults : Vector [Resolver ] = Vector (mavenCentral)
126+ def scalaNightlyRepository : Resolver =
127+ MavenRepository (" The Scala Nightly Repository" , ScalaNightlyRepository )
125128
126129 // TODO: This switch is only kept for backward compatibility. Hardcode to HTTPS in the future.
127130 private [sbt] def centralRepositoryRoot (secure : Boolean ) =
You can’t perform that action at this time.
0 commit comments