import sbtrelease.ReleaseStateTransformations._

releaseProcess := Seq[ReleaseStep](
  checkSnapshotDependencies,
  inquireVersions,
  runClean,
  runTest,
  setReleaseVersion,
  commitReleaseVersion,
  tagRelease,
  ReleaseStep(action = Command.process("publishSigned", _)),
  setNextVersion,
  commitNextVersion,
  ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
  pushChanges
)

useGpg := true

releaseCrossBuild := true
crossScalaVersions := Seq("2.11.8", "2.12.0")

TravisCredentials.updateCredentials()

pomExtra in Global := {
    <scm>
      <connection>scm:git:github.com/blemale/scaffeine.git</connection>
      <developerConnection>scm:git:git@github.com:blemale/scaffeine.git</developerConnection>
      <url>github.com/blemale/scaffeine.git</url>
    </scm>
    <developers>
      <developer>
        <id>blemale</id>
        <name>Bastien LEMALE</name>
        <url>https://github.com/blemale</url>
      </developer>
    </developers>
}
import sbtrelease.ReleaseStateTransformations._

releaseProcess := Seq[ReleaseStep](
  checkSnapshotDependencies,
  inquireVersions,
  runClean,
  runTest,
  setReleaseVersion,
  commitReleaseVersion,
  tagRelease,
  ReleaseStep(action = Command.process("publishSigned", _), enableCrossBuild = true),
  setNextVersion,
  commitNextVersion,
  ReleaseStep(action = Command.process("sonatypeReleaseAll", _), enableCrossBuild = true),
  pushChanges
)

useGpg := true

releaseCrossBuild := true
crossScalaVersions := Seq("2.11.8", "2.12.0")

TravisCredentials.updateCredentials()

pomExtra in Global := {
    <scm>
      <connection>scm:git:github.com/blemale/scaffeine.git</connection>
      <developerConnection>scm:git:git@github.com:blemale/scaffeine.git</developerConnection>
      <url>github.com/blemale/scaffeine.git</url>
    </scm>
    <developers>
      <developer>
        <id>blemale</id>
        <name>Bastien LEMALE</name>
        <url>https://github.com/blemale</url>
      </developer>
    </developers>
}
Enable cross building for sonatype publishing
Build: Enable cross building for sonatype publishing
