Skip to content

Commit

Permalink
0.4: slick-migration-api 0.4.0 (slick 3.2.0), cross-publish to 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Mar 27, 2017
1 parent 5aa86b1 commit 57d8ea1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: scala
script: sbt test
script: sbt +test
after_success:
- "sbt publish"
- "sbt +publish"
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
scalaVersion := "2.11.8"

crossScalaVersions := Seq("2.11.8", "2.12.1")

organization := "com.1on1development"

name := "slick-migration-api-flyway"

version := "0.3"
version := "0.4"

scalacOptions += "-deprecation"

libraryDependencies += "io.github.nafg" %% "slick-migration-api" % "0.3.0"
libraryDependencies += "io.github.nafg" %% "slick-migration-api" % "0.4.0"

libraryDependencies += "org.flywaydb" % "flyway-core" % "4.1.2"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import slick.util.AsyncExecutor


class UnmanagedJdbcDataSource(conn: Connection) extends JdbcDataSource {
def createConnection() = conn

def close() = ()
override def createConnection() = conn
override def close() = ()
override val maxConnections = None
}

class UnmanagedSession(database: DatabaseDef) extends BaseSession(database) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package slick.migration.api.flyway

import scala.concurrent.ExecutionContext

import slick.driver.H2Driver.api._
import slick.jdbc.H2Profile.api._
import slick.jdbc.meta.MTable
import slick.migration.api.{H2Dialect, SqlMigration, TableMigration}

Expand Down

0 comments on commit 57d8ea1

Please sign in to comment.