Skip to content

Commit

Permalink
Try to fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Oct 24, 2024
1 parent e213d01 commit 073c3c9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 30 deletions.
54 changes: 26 additions & 28 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// shadow sbt-scalajs' crossProject and CrossType from Scala.js 0.6.x
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}

val Scala2_12 = "2.12.19"
val Scala2_13 = "2.13.14"
val Scala3 = "3.3.4"
Expand All @@ -13,31 +10,33 @@ val AllScalaVersions = Seq(Scala2_12, Scala2_13, Scala3)

val ScalaTestScalaCheck = s"$ScalaTest.0"

val SharedSettings = Seq(
name := "toml-scala",
organization := "com.indoorvivants",

// scalaVersion := Scala2_13,
// crossScalaVersions := Seq(Scala3, Scala2_13, Scala2_12),

pomExtra :=
<url>https://github.com/sparsetech/toml-scala</url>
<licenses>
<license>
<name>MPL-2.0 License</name>
<url>https://opensource.org/licenses/MPL-2.0</url>
</license>
</licenses>
<scm>
<url>git@github.com:indoorvivants/toml-scala.git</url>
</scm>
<developers>
<developer>
<id>tindzk</id>
<name>Tim Nieradzik</name>
<url>http://github.com/tindzk</url>
</developer>
</developers>
inThisBuild(
List(
organization := "com.indoorvivants",
organizationName := "Anton Sviridov",
homepage := Some(
url("https://github.com/indoorvivants/toml-scala")
),
startYear := Some(2022),
licenses := List(
"MPL-2.0" -> url("https://opensource.org/licenses/MPL-2.0")
),
developers := List(
Developer(
"tindzk",
"Tim Nieradzik",
"",
url("http://github.com/tindzk")
),
Developer(
"keynmol",
"Anton Sviridov",
"[email protected]",
url("https://blog.indoorvivants.com")
)
)
)
)

lazy val root = project.in(file("."))
Expand All @@ -51,7 +50,6 @@ lazy val toml =
.jsPlatform(AllScalaVersions)
.nativePlatform(AllScalaVersions)
.in(file("core"))
.settings(SharedSettings)
.settings(superMatrix)
.settings(
libraryDependencies ++= Seq(
Expand Down
2 changes: 0 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
logLevel := Level.Warn

addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.0")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
Expand Down

0 comments on commit 073c3c9

Please sign in to comment.