Skip to content

Commit

Permalink
Omit the suffix in artifactName for cross modules
Browse files Browse the repository at this point in the history
  • Loading branch information
joan38 committed Aug 31, 2020
1 parent bbbf193 commit 1a27f83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scalalib/src/MiscModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ trait CrossModuleBase extends ScalaModule {
def scalaVersion = T{ crossScalaVersion }

override def millSourcePath = super.millSourcePath / ammonite.ops.up
override def artifactName: T[String] = super.artifactName().init
implicit def crossSbtModuleResolver: Resolver[CrossModuleBase] = new Resolver[CrossModuleBase]{
def resolve[V <: CrossModuleBase](c: Cross[V]): V = {
crossScalaVersion.split('.')
Expand Down

0 comments on commit 1a27f83

Please sign in to comment.