|
1 | | -import ReleaseTransformations._ |
2 | 1 | import com.typesafe.tools.mima.plugin.MimaPlugin.mimaDefaultSettings |
3 | 2 | import scala.collection.JavaConverters._ |
4 | 3 | import microsites.ExtraMdFileConfig |
@@ -63,6 +62,7 @@ val sharedSettings = Seq( |
63 | 62 | crossScalaVersions := Seq(scalaVersion.value, "2.12.14"), |
64 | 63 | javacOptions ++= Seq("-source", "1.8", "-target", "1.8"), |
65 | 64 | doc / javacOptions := Seq("-source", "1.8"), |
| 65 | + versionScheme := Some("early-semver"), |
66 | 66 | Compile / compile / wartremoverErrors ++= Seq( |
67 | 67 | //Wart.OptionPartial, // this kills the ability to use serialization macros |
68 | 68 | Wart.ExplicitImplicitTypes, |
@@ -125,32 +125,8 @@ val sharedSettings = Seq( |
125 | 125 | assembly / logLevel := Level.Warn, |
126 | 126 |
|
127 | 127 | // Publishing options: |
128 | | - releaseCrossBuild := true, |
129 | | - releasePublishArtifactsAction := PgpKeys.publishSigned.value, |
130 | | - ThisBuild / dynverSonatypeSnapshots := true, // prepend "-SNAPSHOT" to version tag when releasing a snapshot style build |
131 | | - ThisBuild / dynverSeparator := "-", // use a URI friendly separator for snapshots instead of '+' char |
132 | | - publishMavenStyle := true, |
133 | 128 | Test / publishArtifact := false, |
134 | 129 | pomIncludeRepository := { x => false }, |
135 | | - releaseProcess := ( |
136 | | - if (version.value.trim.endsWith("SNAPSHOT")) |
137 | | - Seq[ReleaseStep]( |
138 | | - runClean, |
139 | | - publishArtifacts, |
140 | | - ReleaseStep(action = Command.process("sonatypeReleaseAll", _)), |
141 | | - ) |
142 | | - else Seq[ReleaseStep]( |
143 | | - checkSnapshotDependencies, |
144 | | - runClean, |
145 | | - publishArtifacts, |
146 | | - ReleaseStep(action = Command.process("sonatypeReleaseAll", _)), |
147 | | - ) |
148 | | - ), |
149 | | - publishTo := Some( |
150 | | - if (version.value.trim.endsWith("SNAPSHOT")) |
151 | | - Opts.resolver.sonatypeSnapshots |
152 | | - else Opts.resolver.sonatypeStaging |
153 | | - ), |
154 | 130 |
|
155 | 131 | // Janino includes a broken signature, and is not needed: |
156 | 132 | assembly / assemblyExcludedJars := { |
|
0 commit comments