File tree Expand file tree Collapse file tree 3 files changed +64
-32
lines changed Expand file tree Collapse file tree 3 files changed +64
-32
lines changed Original file line number Diff line number Diff line change 1+ import play .Project ._
2+ import scala .Some
3+ import xerial .sbt .Sonatype .SonatypeKeys ._
4+ import xerial .sbt .Sonatype ._
5+
6+ name := " play2-elasticsearch"
7+
8+ version := " 0.8-SNAPSHOT"
9+
10+ libraryDependencies ++= Seq (
11+ javaCore,
12+ // Add your project dependencies here
13+ " org.elasticsearch" % " elasticsearch" % " 0.90.12" ,
14+ " org.apache.commons" % " commons-lang3" % " 3.1"
15+ )
16+
17+ play.Project .playJavaSettings
18+
19+ sonatypeSettings
20+
21+ organization := " com.clever-age"
22+
23+ profileName := " com.clever-age"
24+
25+ crossPaths := false
26+
27+ publishMavenStyle := true
28+
29+ publishArtifact in Test := false
30+
31+ pomIncludeRepository := { _ => false }
32+
33+ publishTo := {
34+ val nexus = " https://oss.sonatype.org/"
35+ if (isSnapshot.value)
36+ Some (" snapshots" at nexus + " content/repositories/snapshots" )
37+ else
38+ Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
39+ }
40+
41+ licenses := Seq (" MIT" -> url(" http://opensource.org/licenses/MIT" ))
42+
43+ homepage := Some (url(" https://github.com/cleverage/play2-elasticsearch" ))
44+
45+ pomExtra := (
46+ <scm >
47+ <url >git@ github.com: cleverage/ play2- elasticsearch.git</url >
48+ <connection >scm: git: git@ github.com: cleverage/ play2- elasticsearch.git</connection >
49+ </scm >
50+ <developers >
51+ <developer >
52+ <id >nboire</id >
53+ <name >Nicolas Boire </name >
54+ </developer >
55+ <developer >
56+ <id >mguillermin</id >
57+ <name >Matthieu Guillermin </name >
58+ <url >http:// matthieuguillermin.fr</url >
59+ </developer >
60+ </developers >)
61+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,3 +6,6 @@ resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/release
66
77// Use the Play sbt plugin for Play projects
88addSbtPlugin(" com.typesafe.play" % " sbt-plugin" % " 2.2.1" )
9+
10+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 0.2.1" )
11+
You can’t perform that action at this time.
0 commit comments