This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade branch 2.7.x using TemplateControl (#77)
``` Updated with template-control on 2018-11-16T14:25:16.372Z **build.sbt: libraryDependencies += "com.typesafe.play" %% "play-slick" % "4.0.0-RC1" **build.sbt: libraryDependencies += "com.typesafe.play" %% "play-slick-evolutions" % "4.0.0-RC1" **/plugins.sbt: addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.0-RC3") **build.gradle: def playVersion = "2.7.0-RC3" .travis.yml: - openjdk10 .travis.yml: jdk: openjdk10 ```
- Loading branch information
Showing
8 changed files
with
39 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
name := """play-scala-slick-example""" | ||
|
||
version := "2.6.x" | ||
version := "2.7.x" | ||
|
||
lazy val root = (project in file(".")).enablePlugins(PlayScala) | ||
|
||
scalaVersion := "2.12.6" | ||
|
||
crossScalaVersions := Seq("2.11.12", "2.12.4") | ||
scalaVersion := "2.12.7" | ||
|
||
libraryDependencies += guice | ||
libraryDependencies += "com.typesafe.play" %% "play-slick" % "3.0.3" | ||
libraryDependencies += "com.typesafe.play" %% "play-slick-evolutions" % "3.0.3" | ||
libraryDependencies += "com.typesafe.play" %% "play-slick" % "4.0.0-RC1" | ||
libraryDependencies += "com.typesafe.play" %% "play-slick-evolutions" % "4.0.0-RC1" | ||
|
||
libraryDependencies += "com.h2database" % "h2" % "1.4.197" | ||
|
||
libraryDependencies += specs2 % Test | ||
|
||
scalacOptions ++= Seq( | ||
"-feature", | ||
"-deprecation", | ||
"-Xfatal-warnings" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// The Play plugin | ||
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.20") | ||
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.0-RC3") |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
. "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/script-helper" | ||
set -e | ||
set -o pipefail | ||
|
||
# Using cut because TRAVIS_SCALA_VERSION is the full Scala | ||
# version (for example 2.12.4), but Gradle expects just the | ||
# binary version (for example 2.12) | ||
scala_binary_version=$(echo $TRAVIS_SCALA_VERSION | cut -c1-4) | ||
|
||
echo "+------------------------------+" | ||
echo "| Executing tests using Gradle |" | ||
echo "| Executing tests using Gradle |" | ||
echo "+------------------------------+" | ||
./gradlew -Dscala.binary.version=$scala_binary_version check -i --stacktrace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
. "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/script-helper" | ||
set -e | ||
set -o pipefail | ||
|
||
echo "+----------------------------+" | ||
echo "| Executing tests using sbt |" | ||
echo "| Executing tests using sbt |" | ||
echo "+----------------------------+" | ||
sbt ++$TRAVIS_SCALA_VERSION test |