Skip to content

Commit cdf74b8

Browse files
Merge pull request #8014 from dotty-staging/dotty-plugin-fix
Fetch maven metadata from Dotty plugin via HTTPS
2 parents 0af8c1e + 84512b1 commit cdf74b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ object DottyPlugin extends AutoPlugin {
3434

3535
// get latest nightly version from maven
3636
def fetchSource(version: String): (scala.io.BufferedSource, String) =
37-
try Source.fromURL(s"http://repo1.maven.org/maven2/ch/epfl/lamp/dotty_$version/maven-metadata.xml") -> version
37+
try Source.fromURL(s"https://repo1.maven.org/maven2/ch/epfl/lamp/dotty_$version/maven-metadata.xml") -> version
3838
catch { case t: java.io.FileNotFoundException =>
3939
val major :: minor :: Nil = version.split('.').toList
4040
if (minor.toInt <= 0) throw t

0 commit comments

Comments
 (0)