Skip to content

Commit 2420e1e

Browse files
committed
Add empty artifacts for Mima on Scala 3
1 parent 44ccd85 commit 2420e1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ trait MainArgsPublishModule extends PublishModule with CrossScalaModule with Mim
3131
.lastTag
3232
.getOrElse(throw new Exception("Missing last tag"))
3333
)
34+
// Remove after Scala 3 artifacts are published
35+
def mimaPreviousArtifacts = T{ if(isScala3(scalaVersion())) Seq() else super.mimaPreviousArtifacts() }
3436
def artifactName = "mainargs"
3537

3638
def pomSettings = PomSettings(

0 commit comments

Comments
 (0)