-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #379 from circe/scalanative
Add build for scala-native 0.5
- Loading branch information
Showing
4 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ val semVerRegex = """(\d+\.\d+\.)(\d+)(?:-SNAPSHOT)?""".r | |
|
||
lazy val root = tlCrossRootProject.aggregate(optics) | ||
|
||
lazy val optics = crossProject(JVMPlatform, JSPlatform) | ||
lazy val optics = crossProject(JVMPlatform, JSPlatform, NativePlatform) | ||
.withoutSuffixFor(JVMPlatform) | ||
.crossType(CrossType.Pure) | ||
.in(file("optics")) | ||
|
@@ -39,6 +39,9 @@ lazy val optics = crossProject(JVMPlatform, JSPlatform) | |
"org.typelevel" %%% "discipline-scalatest" % Versions.discipline % Test | ||
) | ||
) | ||
.nativeSettings( | ||
tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.15.1").toMap | ||
) | ||
|
||
ThisBuild / developers := List( | ||
Developer("travisbrown", "Travis Brown", "[email protected]", url("https://twitter.com/travisbrown")) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
addSbtPlugin("io.circe" % "sbt-circe-org" % "0.4.3") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5") |