Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Update Project to latest versions of tooling #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: scala
scala:
- 2.10.0
- 2.11.8

notifications:
email: false
44 changes: 43 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
//seq(lsSettings:_*)
lazy val buildVersion = "1.2.0"

organization := "se.radley"
description := "Scala Enumeration plugin for PlayFramework 2"
version := buildVersion
scalaVersion := "2.11.8"
resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/"
libraryDependencies += "com.typesafe.play" %% "play" % "2.5.14" % "provided"
libraryDependencies += "com.typesafe.play" %% "play-test" % "2.5.14" % "test"
libraryDependencies += "org.specs2" %% "specs2" % "3.7" % "test"

publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://github.com/leon/play-enumeration</url>
<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:leon/play-enumeration.git</url>
<connection>scm:git:[email protected]:leon/play-enumeration.git</connection>
</scm>
<developers>
<developer>
<id>leon</id>
<name>Leon Radley</name>
<url>http://leon.radley.se</url>
</developer>
</developers>
)
publishTo := (version { version: String =>
val nexus = "https://oss.sonatype.org/"
if (version.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}).value
50 changes: 0 additions & 50 deletions project/Build.scala

This file was deleted.

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.15
6 changes: 2 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
resolvers ++= Seq(
"sbt-idea-repo" at "http://mpeltonen.github.com/maven/",
"less is" at "http://repo.lessis.me",
"coda" at "http://repo.codahale.com",
Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
)

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.2.0")
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")

addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

//addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")