@@ -12,11 +12,14 @@ ThisBuild / crossScalaVersions := {
1212ThisBuild / scalaVersion := crossScalaVersions.value.head
1313
1414val commonSettings = Seq (
15- version := " 1.2.0-SNAPSHOT" ,
1615 organization := " org.scala-js" ,
1716 scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" )
1817)
1918
19+ val noPublishSettings = Seq (
20+ publish / skip := true
21+ )
22+
2023normalizedName := " scalajs-dom"
2124
2225commonSettings
@@ -58,21 +61,6 @@ scalacOptions ++= {
5861 else Nil
5962}
6063
61- scmInfo := Some (ScmInfo (
62- url(" https://github.com/scala-js/scala-js-dom" ),
63- " scm:git:git@github.com:scala-js/scala-js-dom.git" ,
64- Some (" scm:git:git@github.com:scala-js/scala-js-dom.git" )))
65-
66- publishMavenStyle := true
67-
68- publishTo := {
69- val nexus = " https://oss.sonatype.org/"
70- if (isSnapshot.value)
71- Some (" snapshots" at nexus + " content/repositories/snapshots" )
72- else
73- Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
74- }
75-
7664pomExtra := (
7765 <developers >
7866 <developer >
@@ -115,9 +103,10 @@ lazy val readme = ScalatexReadme(
115103 scalaVersion := " 2.12.10" ,
116104 scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" ),
117105 (Compile / resources) += (example / Compile / fullOptJS).value.data
118- )
106+ ).settings( noPublishSettings : _* )
119107
120108lazy val example = project.
121109 enablePlugins(ScalaJSPlugin ).
122110 settings(commonSettings : _* ).
111+ settings(noPublishSettings : _* ).
123112 dependsOn(root)
0 commit comments