Skip to content

Commit a0f4370

Browse files
committed
Tweak publishing, binary compatibility: target Java 8 and for Scala 3 only 3.0.2
1 parent 3556c8c commit a0f4370

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.sbt

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@ import scala.xml.{Node => XmlNode, NodeSeq => XmlNodeSeq, _}
1212

1313
val projectVersion = "0.4.0"
1414
val versionTagDir = if (projectVersion.endsWith("SNAPSHOT")) "master" else "v." + projectVersion
15-
val _scalaVersions = Seq("2.13.7", "2.12.15", "3.0.2", "3.1.0")
15+
val _scalaVersions = Seq("2.13.7", "2.12.15", "3.0.2")
1616
val _scalaVersion = _scalaVersions.head
1717
val _javaFXVersion = "16"
1818

1919
ThisBuild / version := projectVersion
2020
ThisBuild / crossScalaVersions := _scalaVersions
2121
ThisBuild / scalaVersion := _scalaVersion
22-
ThisBuild / publishArtifact := false
23-
ThisBuild / publish / skip := true
2422
ThisBuild / sonatypeProfileName := "org.scalafx"
2523

24+
publishArtifact := false
25+
publish / skip := true
26+
2627
lazy val OSName = System.getProperty("os.name") match {
2728
case n if n.startsWith("Linux") => "linux"
2829
case n if n.startsWith("Mac") => "mac"
@@ -153,8 +154,8 @@ lazy val scalaFXExtrasSettings = Seq(
153154
Seq.empty[sbt.ModuleID]
154155
),
155156
javacOptions ++= Seq(
156-
// "-target", "1.8",
157-
// "-source", "1.8",
157+
"-target", "1.8",
158+
"-source", "1.8",
158159
"-Xlint:deprecation"
159160
),
160161
libraryDependencies ++= Seq(

0 commit comments

Comments
 (0)