Skip to content

Commit 3ea0e85

Browse files
Read latest nightly metadata from the scala3-compiler artefact
Co-authored-by: Guillaume Martres <[email protected]>
1 parent 5f19ac3 commit 3ea0e85

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
@@ -35,7 +35,7 @@ object DottyPlugin extends AutoPlugin {
3535

3636
// get latest nightly version from maven
3737
def fetchSource(version: String): (scala.io.BufferedSource, String) =
38-
try Source.fromURL(s"https://repo1.maven.org/maven2/org/scala-lang/scala3_$version/maven-metadata.xml") -> version
38+
try Source.fromURL(s"https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_$version/maven-metadata.xml") -> version
3939
catch { case t: java.io.FileNotFoundException =>
4040
val major :: minor :: Nil = version.split('.').toList
4141
if (minor.toInt <= 0) throw t

0 commit comments

Comments
 (0)