Skip to content

Commit

Permalink
use rest.li version published to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Betz committed Mar 21, 2014
1 parent 79218c3 commit e44a766
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 38 deletions.
31 changes: 2 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,8 @@ Requirements

* SBT - 0.13.0+
* Play - 2.2.1+
* rest.li - 1.15.3+
* rest.li-sbt-plugin - 0.0.1+

Building
--------

* If restli-sbt-plugin is not yet available in maven central. Build it locally first.

```sh
clone https://github.com/linkedin/rest.li-sbt-plugin
cd rest.li-sbt-plugin
./gradlew install
````

* If the needed version of rest.li is not yet available in maven central. Build it locally first.

```sh
clone https://github.com/linkedin/rest.li.git
cd rest.li
./gradlew install
```

* Edit `project/Build.scala`, setting version numbers to match what was installed by the above calls to "./gradlew install".

* Build the project.

```sh
play clean compile
```
* rest.li - 1.15.4+
* rest.li-sbt-plugin - 0.0.2+

Configuration
-------------
Expand Down
16 changes: 8 additions & 8 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ object ApplicationBuild extends Build with restli.All {
"org.apache.lucene" % "lucene-core" % "4.2.0",
"org.apache.lucene" % "lucene-analyzers-common" % "4.2.0",
"org.apache.lucene" % "lucene-queryparser" % "4.2.0",
"com.linkedin.pegasus" % "data" % "1.15.3",
"com.linkedin.pegasus" % "restli-common" % "1.15.3",
"com.linkedin.pegasus" % "restli-client" % "1.15.3",
"com.linkedin.pegasus" % "restli-server" % "1.15.3",
"com.linkedin.pegasus" % "restli-docgen" % "1.15.3"
"com.linkedin.pegasus" % "data" % "1.15.4",
"com.linkedin.pegasus" % "restli-common" % "1.15.4",
"com.linkedin.pegasus" % "restli-client" % "1.15.4",
"com.linkedin.pegasus" % "restli-server" % "1.15.4",
"com.linkedin.pegasus" % "restli-docgen" % "1.15.4"
)

lazy val main = play.Project("rest-search-frontend", path=file("frontend"))
Expand All @@ -47,9 +47,9 @@ object ApplicationBuild extends Build with restli.All {

lazy val dataTemplates = play.Project("rest-search-data-templates", path=file("data-templates"))
.compilePegasus()
.settings(libraryDependencies += "com.linkedin.pegasus" % "data" % "1.15.3")
.settings(libraryDependencies += "com.linkedin.pegasus" % "restli-common" % "1.15.3")
.settings(libraryDependencies += "com.linkedin.pegasus" % "d2-schemas" % "1.15.3")
.settings(libraryDependencies += "com.linkedin.pegasus" % "data" % "1.15.4")
.settings(libraryDependencies += "com.linkedin.pegasus" % "restli-common" % "1.15.4")
.settings(libraryDependencies += "com.linkedin.pegasus" % "d2-schemas" % "1.15.4")
.settings(baseSettings: _*)

override lazy val rootProject = Some(main)
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

libraryDependencies += "com.linkedin.pegasus" %% "sbt-plugin" % "0.0.1"
libraryDependencies += "com.linkedin.pegasus" %% "sbt-plugin" % "0.0.2"

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

Expand Down

0 comments on commit e44a766

Please sign in to comment.