Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Commit

Permalink
sbt 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrh committed Aug 13, 2017
1 parent 251f281 commit 3615a21
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import scala.sys.process._

// FIXME duplicated code
val Version = "(stable:|devel:|)([a-zA-Z0-9-_]+)".r

Expand Down Expand Up @@ -66,8 +68,8 @@ lazy val warningSettings = Seq(
)

lazy val noPublishSettings = Seq(
publish := (),
publishLocal := (),
publish := (()),
publishLocal := (()),
publishArtifact := false
)

Expand Down Expand Up @@ -133,8 +135,6 @@ lazy val docs = project.in(file("modules/docs"))
ghpagesNoJekyll := false,
git.remoteRepo := "git@github.com:larsrh/libisabelle.git",
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.yml" | "*.md" | "Gemfile" | "config",
watchSources ++= (siteSourceDirectory.value ** "*").get,
watchSources += ((baseDirectory in ThisBuild).value / "README.md"),
siteMappings += ((baseDirectory in ThisBuild).value / "README.md", "_includes/README.md"),
tutDirectory := "_tut",
// this seems to be required for scalog
Expand Down Expand Up @@ -399,17 +399,19 @@ import ReleaseTransformations._
releaseVcsSign := true
releaseCrossBuild := true

releasePublishArtifactsAction := PgpKeys.publishSigned.value

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


Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.15
sbt.version=1.0.0-RC3
10 changes: 5 additions & 5 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ resolvers ++= Seq(
)

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.0")
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.0.0")
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.5.2")
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.0")
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.6.0")
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "2.0.0")

addSbtPlugin("info.hupel" % "sbt-libisabelle" % "0.5.1")

0 comments on commit 3615a21

Please sign in to comment.