Skip to content

Commit

Permalink
PLATOPS-1439: Update project structure for new build
Browse files Browse the repository at this point in the history
  • Loading branch information
konradwudkowski committed Jul 20, 2018
1 parent ddb222a commit f163bff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ import uk.gov.hmrc.DefaultBuildSettings.targetJvm
val pluginName = "sbt-git-stamp"

lazy val root = Project(pluginName, base = file("."))
.enablePlugins(SbtAutoBuildPlugin, SbtGitVersioning)
.enablePlugins(SbtAutoBuildPlugin, SbtGitVersioning, SbtArtifactory)
.settings(
sbtPlugin := true,
targetJvm := "jvm-1.7",
organization := "uk.gov.hmrc",
scalaVersion := "2.10.5",
libraryDependencies ++=
sbtPlugin := true,
majorVersion := 5,
makePublicallyAvailableOnBintray := true,
targetJvm := "jvm-1.7",
organization := "uk.gov.hmrc",
scalaVersion := "2.10.5",
libraryDependencies ++=
Seq(
"com.github.nscala-time" %% "nscala-time" % "2.2.0",
"org.eclipse.jgit" % "org.eclipse.jgit" % "3.6.1.201501031845-r",
Expand Down
6 changes: 4 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
resolvers += Resolver.url("hmrc-sbt-plugin-releases",
url("https://dl.bintray.com/hmrc/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "1.3.0")
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "1.12.0")

addSbtPlugin("uk.gov.hmrc" % "sbt-git-versioning" % "0.9.0")
addSbtPlugin("uk.gov.hmrc" % "sbt-git-versioning" % "1.7.0")

addSbtPlugin("uk.gov.hmrc" % "sbt-artifactory" % "0.11.0")

0 comments on commit f163bff

Please sign in to comment.