Skip to content

Commit

Permalink
Revert "Merge pull request #9 from arturaz/feat/cross-building"
Browse files Browse the repository at this point in the history
This reverts commit e0a1e83, reversing
changes made to 973fc82.
  • Loading branch information
jkugiya committed Aug 26, 2024
1 parent f89669a commit edf3db9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 30 deletions.
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
.idea/
target/
/.bsp
# SBT cross compilation targets
/.js
/.jvm
/.native
# Metals files
.bloop
/.metals
metals.sbt

.bsp
null
18 changes: 6 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
import Dependencies._

ThisBuild / scalaVersion := "3.3.3"
ThisBuild / crossScalaVersions := Seq("3.3.3", "2.13.14", "2.12.19", "2.11.12")
ThisBuild / version := "1.0.4-SNAPSHOT"
ThisBuild / scalaVersion := "3.2.2"
ThisBuild / crossScalaVersions := Seq("3.2.2", "2.13.10", "2.12.17", "2.11.12")
ThisBuild / version := "1.0.3-SNAPSHOT"
ThisBuild / organization := "com.github.jkugiya"
ThisBuild / organizationName := "jkugiya"

lazy val root =
(
crossProject(JVMPlatform, JSPlatform, NativePlatform)
.withoutSuffixFor(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("."))
)
lazy val root = (project in file("."))
.settings(
name := "ulid-scala",
libraryDependencies += scalaTest % Test
Expand All @@ -26,13 +20,13 @@ lazy val benchmark = (project in file("benchmark"))
"io.azam.ulidj" % "ulidj" % "1.0.0"
)
)
.dependsOn(root.jvm)
.dependsOn(root)

// Uncomment the following for publishing to Sonatype.
// See https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html for more detail.

ThisBuild / description := "A Scala port of alizain/ulid"
ThisBuild / licenses := List("MIT" -> new URI("https://github.com/jkugiya/ulid-scala/blob/master/LICENSE").toURL)
ThisBuild / licenses := List("MIT" -> new URL("https://github.com/jkugiya/ulid-scala/blob/master/LICENSE"))
ThisBuild / homepage := Some(url("https://github.com/jkugiya/ulid-scala"))
ThisBuild / scmInfo := Some(
ScmInfo(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.1
sbt.version=1.8.2
8 changes: 1 addition & 7 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.17")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
// coverage
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.7")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.6")

// Cross-compilation
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.4")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.6")

0 comments on commit edf3db9

Please sign in to comment.