diff --git a/build.sbt b/build.sbt index 75d3d04..882753f 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ lazy val root = project.in(file(".")) - .aggregate(`scala-library-next`.jvm, `scala-library-next`.js) + .aggregate(scalaLibraryNextJVM, scalaLibraryNextJS) .settings( publish / skip := true, // With CrossType.Pure, the root project also picks up the sources in `src` @@ -7,9 +7,8 @@ lazy val root = project.in(file(".")) Test / unmanagedSourceDirectories := Nil, ) -lazy val `scala-library-next` = crossProject(JVMPlatform, JSPlatform) +lazy val scalaLibraryNext = crossProject(JVMPlatform, JSPlatform) .crossType(CrossType.Pure) - .withoutSuffixFor(JVMPlatform) .in(file(".")) .jvmSettings( libraryDependencies += "junit" % "junit" % "4.13.1" % Test, @@ -28,3 +27,6 @@ lazy val `scala-library-next` = crossProject(JVMPlatform, JSPlatform) .jsSettings( Test / fork := false, ) + +lazy val scalaLibraryNextJVM = scalaLibraryNext.jvm +lazy val scalaLibraryNextJS = scalaLibraryNext.js diff --git a/build.sh b/build.sh index 5358d55..1cd603f 100755 --- a/build.sh +++ b/build.sh @@ -25,9 +25,9 @@ isReleaseJob() { } if [[ "$SCALAJS_BUILD" == "true" ]]; then - projectPrefix="scala-library-nextJS/" + projectPrefix="scalaLibraryNextJS/" else - projectPrefix="scala-library-next/" + projectPrefix="scalaLibraryNextJVM/" fi verPat="[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)?"