Skip to content

Commit

Permalink
Merge pull request #146 from tototoshi/feature/added-social-dependenc…
Browse files Browse the repository at this point in the history
…ies-to-readme

Added play2-auth-social dependencies to README
  • Loading branch information
gakuzzzz committed Jul 24, 2015
2 parents 5fa0adc + 53ccdb7 commit 4bfee96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,18 @@ Play2.1以前をお使いの方へ

`Build.scala` もしくは `build.sbt` にライブラリ依存性定義を追加します。

"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-social" % "0.14.0", // ソーシャルログイン
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
play.sbt.Play.autoImport.cache // デフォルトのIdContainerを使う場合のみ必要です

For example: `Build.scala`

```scala
val appDependencies = Seq(
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-social" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
play.sbt.Play.autoImport.cache // デフォルトのIdContainerを使う場合のみ必要です
)
```
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,18 @@ Add dependency declarations into your `Build.scala` or `build.sbt` file:

* __for Play2.4.x__

"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-social" % "0.14.0", // for social login
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
play.sbt.Play.autoImport.cache // only when you use default IdContainer

For example your `Build.scala` might look like this:

```scala
val appDependencies = Seq(
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
"jp.t2v" %% "play2-auth" % "0.14.0",
"jp.t2v" %% "play2-auth-social" % "0.14.0",
"jp.t2v" %% "play2-auth-test" % "0.14.0" % "test",
play.sbt.Play.autoImport.cache
)
```
Expand Down

0 comments on commit 4bfee96

Please sign in to comment.