@@ -19,7 +19,7 @@ val _javaFXVersion = "17.0.1"
1919ThisBuild / version := projectVersion
2020ThisBuild / crossScalaVersions := _scalaVersions
2121ThisBuild / scalaVersion := _scalaVersion
22- ThisBuild / sonatypeProfileName := " org.scalafx"
22+ ThisBuild / organization := " org.scalafx"
2323
2424publishArtifact := false
2525publish / skip := true
@@ -104,10 +104,6 @@ resolvers += Resolver.sonatypeRepo("snapshots")
104104
105105// Common settings
106106lazy val scalaFXExtrasSettings = Seq (
107- organization := " org.scalafx" ,
108- version := projectVersion,
109- crossScalaVersions := _scalaVersions,
110- scalaVersion := _scalaVersion,
111107 // SAdd version specific directories
112108 Compile / unmanagedSourceDirectories += (Compile / sourceDirectory).value / versionSubDir(scalaVersion.value),
113109 Test / unmanagedSourceDirectories += (Test / sourceDirectory).value / versionSubDir(scalaVersion.value),
@@ -184,7 +180,8 @@ lazy val scalaFXExtrasSettings = Seq(
184180 else
185181 Seq .empty[sbt.ModuleID ]
186182 ),
187- // Use `pomPostProcess` to remove dependencies marked as "provided" from publishing in POM
183+ sonatypeProfileName := " org.scalafx" ,
184+ // Use `pomPostProcess` to remove dependencies marked as "provided" from publishing in POM
188185 // This is to avoid dependency on wrong OS version JavaFX libraries
189186 // See also [https://stackoverflow.com/questions/27835740/sbt-exclude-certain-dependency-only-during-publish]
190187 pomPostProcess := { node : XmlNode =>
0 commit comments