@@ -3,9 +3,10 @@ import Keys._
33
44object ScalikeJDBCAsyncProject extends Build {
55
6- lazy val _version = " 0.5.6-SNAPSHOT"
7- lazy val scalikejdbcVersion = " 2.2.3"
8- lazy val mauricioVersion = " 0.2.15"
6+ lazy val _version = " 0.6.0-SNAPSHOT"
7+ lazy val scalikejdbcVersion = " 2.2.4"
8+ lazy val mauricioVersion = " 0.2.+" // provided
9+ lazy val postgresqlVersion = " 9.4-1201-jdbc41"
910 lazy val defaultPlayVersion = play.core.PlayVersion .current
1011
1112 lazy val core = Project (
@@ -26,7 +27,7 @@ object ScalikeJDBCAsyncProject extends Build {
2627 " org.scalikejdbc" %% " scalikejdbc-interpolation" % scalikejdbcVersion % " compile" ,
2728 " com.github.mauricio" %% " postgresql-async" % mauricioVersion % " provided" ,
2829 " com.github.mauricio" %% " mysql-async" % mauricioVersion % " provided" ,
29- " org.postgresql" % " postgresql" % " 9.3-1102-jdbc41 " % " test" ,
30+ " org.postgresql" % " postgresql" % postgresqlVersion % " test" ,
3031 " mysql" % " mysql-connector-java" % " 5.1.+" % " test" ,
3132 " org.scalatest" %% " scalatest" % " 2.2.+" % " test" ,
3233 " ch.qos.logback" % " logback-classic" % " 1.1.+" % " test"
@@ -56,13 +57,12 @@ object ScalikeJDBCAsyncProject extends Build {
5657 crossScalaVersions := Seq (" 2.11.5" , " 2.10.4" ),
5758 resolvers ++= _resolvers,
5859 resolvers += " Typesafe repository" at " http://repo.typesafe.com/typesafe/releases/" ,
59- libraryDependencies <++= (scalaVersion) { scalaVersion =>
60- Seq (
61- " com.github.mauricio" %% " postgresql-async" % mauricioVersion % " provided" ,
62- " com.github.mauricio" %% " mysql-async" % mauricioVersion % " provided" ,
63- " com.typesafe.play" %% " play" % defaultPlayVersion % " provided" ,
64- " com.typesafe.play" %% " play-test" % defaultPlayVersion % " test" )
65- },
60+ libraryDependencies ++= Seq (
61+ " com.github.mauricio" %% " postgresql-async" % mauricioVersion % " provided" ,
62+ " com.github.mauricio" %% " mysql-async" % mauricioVersion % " provided" ,
63+ " com.typesafe.play" %% " play" % defaultPlayVersion % " provided" ,
64+ " com.typesafe.play" %% " play-test" % defaultPlayVersion % " test"
65+ ),
6666 testOptions in Test += Tests .Argument (TestFrameworks .Specs2 , " sequential" , " true" ),
6767 publishTo <<= version { (v : String ) => _publishTo(v) },
6868 publishMavenStyle := true ,
@@ -83,7 +83,7 @@ object ScalikeJDBCAsyncProject extends Build {
8383 " org.scalikejdbc" %% " scalikejdbc-interpolation" % scalikejdbcVersion,
8484 " com.github.mauricio" %% " postgresql-async" % mauricioVersion,
8585 " com.github.mauricio" %% " mysql-async" % mauricioVersion,
86- " org.postgresql" % " postgresql" % " 9.3-1102-jdbc41 " ,
86+ " org.postgresql" % " postgresql" % postgresqlVersion ,
8787 " com.github.tototoshi" %% " play-flyway" % " 1.2.+" ,
8888 " mysql" % " mysql-connector-java" % " 5.1.+" ,
8989 " org.json4s" %% " json4s-ext" % " 3.2.11" ,
@@ -92,9 +92,7 @@ object ScalikeJDBCAsyncProject extends Build {
9292 Project (appName, file(" play-sample" )).enablePlugins(play.PlayScala ).settings(
9393 scalaVersion in ThisBuild := " 2.11.5" ,
9494 libraryDependencies ++= appDependencies,
95- resolvers ++= Seq (
96- " sonatype releases" at " https://oss.sonatype.org/content/repositories/releases"
97- )
95+ resolvers ++= _resolvers
9896 ).dependsOn(core, playPlugin)
9997 }
10098
0 commit comments