Skip to content

Commit

Permalink
Merge pull request #4 from toolsplus/topic/upgrade-atlassian-connect-…
Browse files Browse the repository at this point in the history
…play

Upgrade atlassian-connect-play to version 0.1.0
  • Loading branch information
Tobi Binna committed Aug 17, 2017
2 parents 4cbc0d1 + d9d75e1 commit 27e08b0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sudo: required
dist: trusty

scala:
- 2.11.8
- 2.12.3

jdk:
- oraclejdk8
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,24 @@ implementation for data repositories defined in [Atlassian Connect Play](atlassi

## Quick start

atlassian-connect-play-slick is published to Maven Central, so you can just add the following to your build:
atlassian-connect-play-slick is published to Maven Central for Scala 2.12 and
Play 2.6.x, so you can just add the following to your build:

libraryDependencies += "io.toolsplus" %% "atlassian-connect-play-slick" % 0.0.1
libraryDependencies += "io.toolsplus" %% "atlassian-connect-play-slick" % 0.1.0

### JDBC driver dependency
The Play Slick module does not bundle any JDBC driver. Hence, you will need to
explicitly add the JDBC driver(s) you want to use in your application.

For instance, if you would like to use an in-memory database such as H2, you will have to add a dependency to it:
For instance, if you would like to use an in-memory database such as H2, you will
have to add a dependency to it:

libraryDependencies += "com.h2database" % "h2" % "${H2_VERSION}"

After that follow the [Play Slick](play-slick-docs) documentation on how to add the Slick
database configuration to your `application.conf`. E.g.
After that follow the [Play Slick](play-slick-docs) documentation on how to add
the Slick database configuration to your `application.conf`. E.g.

slick.dbs.default.driver="slick.driver.H2Driver$"
slick.dbs.default.profile"="slick.jdbc.H2Profile$
slick.dbs.default.db.driver="org.h2.Driver"
slick.dbs.default.db.url="jdbc:h2:mem:play"

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
val commonSettings = Seq(
organization := "io.toolsplus",
scalaVersion := "2.11.8"
scalaVersion := "2.12.3"
)

lazy val publishSettings = Seq(
Expand Down
10 changes: 5 additions & 5 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ object Dependencies {
}

object Version {
val atlassianConnectPlay = "0.0.3"
val playSlick = "2.1.0"
val scalaTestPlusPlay = "2.0.0"
val scalaCheck = "1.13.4"
val h2 = "1.4.193"
val atlassianConnectPlay = "0.1.0"
val playSlick = "3.0.1"
val scalaTestPlusPlay = "3.1.1"
val scalaCheck = "1.13.5"
val h2 = "1.4.196"
}

object Library {
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0")
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.6.1")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.4")
addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "0.6.8")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.5")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.1")

0 comments on commit 27e08b0

Please sign in to comment.