Skip to content

Commit

Permalink
sbt infra files (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson authored Nov 30, 2016
1 parent 3456aa0 commit e54160b
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
39 changes: 39 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name := "isarn-sketches"

organization := "org.isarnproject"

bintrayOrganization := Some("isarn")

version := "0.0.1"

scalaVersion := "2.10.6"

crossScalaVersions := Seq("2.10.6", "2.11.8")

def commonSettings = Seq(
libraryDependencies ++= Seq(
"org.isarnproject" %% "isarn-algebra-api" % "0.0.1",
"org.isarnproject" %% "isarn-collections" % "0.0.1",
"org.isarnproject" %% "isarn-algebird-algebra-api" % "0.0.1" % Test,
"org.isarnproject" %% "isarn-scalatest" % "0.0.1" % Test,
"org.scalatest" %% "scalatest" % "2.2.4" % Test
)
)

seq(commonSettings:_*)

licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))

scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")

scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/root-doc.txt")

site.settings

site.includeScaladoc()

site.jekyllSupport()

ghpages.settings

git.remoteRepo := "[email protected]:isarn/isarn-sketches.git"
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.13.11
20 changes: 20 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
resolvers += Resolver.url(
"bintray-sbt-plugin-releases",
url("http://dl.bintray.com/content/sbt/sbt-plugin-releases"))(
Resolver.ivyStylePatterns)

resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/"

resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4")

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.6.0")

// scoverage and coveralls deps are at old versions to avoid a bug in the current versions
// update these when this fix is released: https://github.com/scoverage/sbt-coveralls/issues/73
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.0.4")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.0.0")

0 comments on commit e54160b

Please sign in to comment.