Skip to content

Commit 30494e4

Browse files
committed
version 1.0.0
1 parent 3f4589c commit 30494e4

File tree

2 files changed

+17
-31
lines changed

2 files changed

+17
-31
lines changed

README.md

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,54 +22,40 @@ and an access token type called [Bearer](http://tools.ietf.org/html/rfc6750).
2222
If you'd like to use this with Play Framework, add "play2-oauth2-provider" to library dependencies of your project.
2323

2424
### Play Framework
25-
#### 2.5
2625

2726
```scala
2827
libraryDependencies ++= Seq(
29-
"com.nulab-inc" %% "play2-oauth2-provider" % "0.18.0"
28+
"com.nulab-inc" %% "play2-oauth2-provider" % "1.0.0"
3029
)
3130
```
3231

33-
#### 2.4
34-
35-
```scala
36-
libraryDependencies ++= Seq(
37-
"com.nulab-inc" %% "play2-oauth2-provider" % "0.16.1"
38-
)
39-
```
40-
41-
#### 2.3
42-
43-
```scala
44-
libraryDependencies ++= Seq(
45-
"com.nulab-inc" %% "play2-oauth2-provider" % "0.14.0"
46-
)
47-
```
48-
49-
#### 2.2
50-
51-
```scala
52-
libraryDependencies ++= Seq(
53-
"com.nulab-inc" %% "play2-oauth2-provider" % "0.7.4"
54-
)
55-
```
32+
Library version | Play version
33+
--------------- | ------------
34+
1.0.0 | 2.5.x
35+
0.16.1 | 2.4.x
36+
0.14.0 | 2.3.x
37+
0.7.4 | 2.2.x
5638

5739
### Akka HTTP
5840
#### 2.4
5941

6042
```scala
6143
libraryDependencies ++= Seq(
62-
"com.nulab-inc" %% "akka-http-oauth2-provider" % "0.18.0"
44+
"com.nulab-inc" %% "akka-http-oauth2-provider" % "1.0.0"
6345
)
6446
```
6547

48+
Library version | Akka HTTP version
49+
--------------- | ------------
50+
1.0.0 | 2.4.x
51+
6652
### Other frameworks
6753

68-
Add "scala-oauth2-core" instead. In this case, you need to implement your own OAuth provider working with web framework you use.
54+
Add `scala-oauth2-core` instead. In this case, you need to implement your own OAuth provider working with web framework you use.
6955

7056
```scala
7157
libraryDependencies ++= Seq(
72-
"com.nulab-inc" %% "scala-oauth2-core" % "0.18.0"
58+
"com.nulab-inc" %% "scala-oauth2-core" % "1.0.0"
7359
)
7460
```
7561

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
val oauth2ProviderVersion = "0.18.1-SNAPSHOT"
21
val playVersion = "2.5.6"
32
val akkaVersion = "2.4.7"
43
val commonDependenciesInTestScope = Seq(
@@ -11,7 +10,6 @@ lazy val scalaOAuth2ProviderSettings =
1110
scalariformSettings ++
1211
Seq(
1312
organization := "com.nulab-inc",
14-
version := oauth2ProviderVersion,
1513
scalaVersion := "2.11.8",
1614
crossScalaVersions := Seq("2.11.8"),
1715
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature"),
@@ -59,6 +57,7 @@ lazy val scalaOAuth2Core = Project(
5957
settings = scalaOAuth2ProviderSettings ++ Seq(
6058
name := "scala-oauth2-core",
6159
description := "OAuth 2.0 server-side implementation written in Scala",
60+
version := "1.0.0",
6261
libraryDependencies ++= commonDependenciesInTestScope
6362
)
6463
)
@@ -69,6 +68,7 @@ lazy val play2OAuth2Provider = Project(
6968
settings = scalaOAuth2ProviderSettings ++ Seq(
7069
name := "play2-oauth2-provider",
7170
description := "Support scala-oauth2-core library on Playframework Scala",
71+
version := "1.0.0",
7272
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/maven-releases/",
7373
libraryDependencies ++= Seq(
7474
"com.typesafe.play" %% "play" % playVersion % "provided",
@@ -83,6 +83,7 @@ lazy val akkahttpOAuth2Provider = Project(
8383
settings = scalaOAuth2ProviderSettings ++ Seq(
8484
name := "akka-http-oauth2-provider",
8585
description := "Support scala-oauth2-core library on akka-http",
86+
version := "1.0.0",
8687
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/maven-releases/",
8788
libraryDependencies ++= Seq(
8889
"com.typesafe.akka" %% "akka-http-experimental" % akkaVersion,
@@ -93,4 +94,3 @@ lazy val akkahttpOAuth2Provider = Project(
9394
) ++ commonDependenciesInTestScope
9495
)
9596
) dependsOn (scalaOAuth2Core % "compile->compile;test->test")
96-

0 commit comments

Comments
 (0)