Skip to content

Commit

Permalink
Tweak publishing, binary compatibility: target Java 8 and for Scala 3…
Browse files Browse the repository at this point in the history
… only 3.0.2
  • Loading branch information
jpsacha committed Nov 24, 2021
1 parent 3556c8c commit a0f4370
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ import scala.xml.{Node => XmlNode, NodeSeq => XmlNodeSeq, _}

val projectVersion = "0.4.0"
val versionTagDir = if (projectVersion.endsWith("SNAPSHOT")) "master" else "v." + projectVersion
val _scalaVersions = Seq("2.13.7", "2.12.15", "3.0.2", "3.1.0")
val _scalaVersions = Seq("2.13.7", "2.12.15", "3.0.2")
val _scalaVersion = _scalaVersions.head
val _javaFXVersion = "16"

ThisBuild / version := projectVersion
ThisBuild / crossScalaVersions := _scalaVersions
ThisBuild / scalaVersion := _scalaVersion
ThisBuild / publishArtifact := false
ThisBuild / publish / skip := true
ThisBuild / sonatypeProfileName := "org.scalafx"

publishArtifact := false
publish / skip := true

lazy val OSName = System.getProperty("os.name") match {
case n if n.startsWith("Linux") => "linux"
case n if n.startsWith("Mac") => "mac"
Expand Down Expand Up @@ -153,8 +154,8 @@ lazy val scalaFXExtrasSettings = Seq(
Seq.empty[sbt.ModuleID]
),
javacOptions ++= Seq(
// "-target", "1.8",
// "-source", "1.8",
"-target", "1.8",
"-source", "1.8",
"-Xlint:deprecation"
),
libraryDependencies ++= Seq(
Expand Down

0 comments on commit a0f4370

Please sign in to comment.