diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b30b1b3 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,18 @@ +version: 2.1 +jobs: + build: + machine: + image: ubuntu-2004:202010-01 + working_directory: ~/build + steps: + - checkout + - run: + name: Build and test + command: > + sbt compile && + sbt "project db2" docker && + sbt "project itsetup" dockerComposeUp && + sbt coverage test coverageReport coveralls && + sbt alldbs:test && + sbt "project itsetup" dockerComposeStop && + sbt coverageReport coveralls diff --git a/.gitignore b/.gitignore index 63056ce..a4c24d5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ target/ slick-repo.iml src/docker/oracle-build/docker-images/ +derbyDB/ +derby.log diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 890959a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -# MIT License -# -# Copyright (c) 2016 Gonçalo Marques -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -sudo: required -services: - - docker -language: scala -script: > - sbt compile && - sbt "project mysql" docker && - sbt "project oracle-build" buildOracle && - sbt "project postgres" docker && - sbt "project mysql" dockerComposeUp && - sbt test && - sbt alldbs:test && - sbt "project mysql" dockerComposeStop -after_success: -- sbt coverageReport coveralls -env: - global: - secure: "FEMOF8BzuqL5oEIHHh/FP4u2XDWmJEhGN9Z6LLHbRYfp1o0DrSXsscO1FnwuzYg4yj9iYiWVYChRyy7feXBLmb/Zk94579fLyaFMD+3/vQr9dTk0WhEWr5/g7SuUYyAd4d+2ir73NddDW3umzjPmmVptBK3cPdF3p9qrpzXWgyavjdGsrdcxhfNALEkBGY04pptLUczoFB5coQRhwp0yyeVzjJQrn57NEfSVKq5tMpkYJLCQoUPOoLB6h2PTqahmfi8JE9cqhExl31lkRn72hFhF34VvcXEyBZtrKQsrqmnwFoFPWZ8PKGPai+5wPConAQvM3FFiJrCfYrIgxc53QdZ+e62wnnsPYfuXzqtCURtw6GQy7mTOxq7U1MvoTETqdo31S9wRIKW++Z0kzemV3jd13tS0UxWG0BIyE97mufow+6HcvwZ4YZ8j9qnjBotmhKyCbbrb0o7c81WOw8u0s0qyzVRz7Mg0B2RaMbmz2riVyNIBXeUte/ucgQC5HUQm+jIMgO13wkZ7vHPjuaqjH7KO/o1X2l09ws35WtmqM8hhJu5dEF+3eG1m/gHZAvvfzxOTNDAOLI0Agdp8DJzTnXGO1TPJ4WyvTss8fE2N8hkdfoTEJ6YWDy1klGq8sEatK9prfoz/RKWB8+cK0+C+VzTkAKdZvKdB4oyP74/pqfE=" diff --git a/appveyor.yml b/appveyor.yml index bf066c0..d17a490 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,7 +25,7 @@ install: Add-Type -AssemblyName System.IO.Compression.FileSystem if (!(Test-Path -Path "C:\sbt" )) { (new-object System.Net.WebClient).DownloadFile( - 'https://dl.bintray.com/sbt/native-packages/sbt/0.13.11/sbt-0.13.11.zip', + 'https://github.com/sbt/sbt/releases/download/v0.13.18/sbt-0.13.18.zip', 'C:\sbt.zip' ) [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt.zip", "C:\sbt") diff --git a/project/Build.scala b/project/Build.scala index 09c8c3b..9eb2c63 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -25,6 +25,7 @@ import sbt.Keys._ import sbt._ import scoverage.ScoverageKeys._ +import org.scoverage.coveralls.Imports.CoverallsKeys._ import com.typesafe.sbt.pgp.PgpKeys._ object Build extends Build { @@ -33,7 +34,7 @@ object Build extends Build { val dependencies = Seq( "org.scalatest" %% "scalatest" % "3.0.8" % "test", - "com.h2database" % "h2" % "1.4.192" % "test", + "com.h2database" % "h2" % "2.2.220" % "test", "mysql" % "mysql-connector-java" % "5.1.38" % "test", "org.postgresql" % "postgresql" % "9.4.1211" % "test", "org.slf4j" % "slf4j-simple" % "1.7.21" % "test", @@ -44,15 +45,14 @@ object Build extends Build { lazy val project: Project = Project("root", file(".")) - .configs(AllDbsTest, Db2Test, SqlServerTest) + .configs(AllDbsTest, SqlServerTest) .settings(inConfig(AllDbsTest)(Defaults.testTasks): _*) - .settings(inConfig(Db2Test)(Defaults.testTasks): _*) .settings(inConfig(SqlServerTest)(Defaults.testTasks): _*) .settings( name := "slick-repo", description := "CRUD Repositories for Slick based persistence Scala projects", - version := "1.6.2-SNAPSHOT", + version := "1.7.1-SNAPSHOT", scalaVersion := "2.12.6", crossScalaVersions := Seq("2.13.0", "2.12.6", "2.11.12", "2.10.7"), @@ -71,9 +71,9 @@ object Build extends Build { parallelExecution in Test := false, coverageEnabled := true, + coverallsToken := Some("w171Cv0CW3ekjA5ASwb0mzWcUDoNaw93X"), testOptions in Test := Seq(Tests.Filter(baseFilter)), - testOptions in Db2Test := Seq(Tests.Filter(db2Filter)), testOptions in AllDbsTest := Seq(Tests.Filter(allDbsFilter)), testOptions in SqlServerTest := Seq(Tests.Filter(sqlServerFilter)), @@ -135,16 +135,10 @@ object Build extends Build { ) - lazy val mysql: Project = - Project("mysql", file("src/docker/mysql")) + lazy val itsetup: Project = + Project("itsetup", file("src/docker/itsetup")) .settings( - name := "mysql" - ) - - lazy val oracleBuild: Project = - Project("oracle-build", file("src/docker/oracle-build")) - .settings( - name := "oracle-build" + name := "itsetup" ) lazy val db2: Project = @@ -153,32 +147,22 @@ object Build extends Build { name := "db2" ) - lazy val postgres: Project = - Project("postgres", file("src/docker/postgres")) - .settings( - name := "postgres" - ) - - val dbPrefixes = Seq("MySQL", "Oracle", "Postgres", "Derby", "Hsql") - val db2Prefix = Seq("DB2") + val dbPrefixes = Seq("MySQL", "Oracle", "Postgres", "Derby", "Hsql", "DB2") val sqlServerPrefix = Seq("SQLServer") lazy val AllDbsTest: Configuration = config("alldbs") extend Test - lazy val Db2Test: Configuration = config("db2") extend Test lazy val SqlServerTest: Configuration = config("sqlserver") extend Test def testName(name: String): String = name.substring(name.lastIndexOf('.') + 1) def allDbsFilter(name: String): Boolean = dbPrefixes.exists(p => testName(name) startsWith p) - def db2Filter(name: String): Boolean = db2Prefix.exists(p => testName(name) startsWith p) - def sqlServerFilter(name: String): Boolean = sqlServerPrefix.exists(p => testName(name) startsWith p) - def baseFilter(name: String): Boolean = !allDbsFilter(name) && !db2Filter(name) && !sqlServerFilter(name) + def baseFilter(name: String): Boolean = !allDbsFilter(name) && !sqlServerFilter(name) def getSlickDependency(slickComponent: String, version: String): ModuleID = { "com.typesafe.slick" % (slickComponent + "_" + version.substring(0, version.lastIndexOf('.'))) % - (if(version.startsWith("2.10")) {"3.1.1"} else {"3.3.2"}) + (if(version.startsWith("2.10")) {"3.1.1"} else {"3.5.0-M4"}) } } diff --git a/project/plugins.sbt b/project/plugins.sbt index b86616c..4389ab7 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -24,7 +24,7 @@ addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.1") -addSbtPlugin("com.tapad" % "sbt-docker-compose" % "1.0.19") +addSbtPlugin("com.tapad" % "sbt-docker-compose" % "1.0.35") addSbtPlugin("org.scoverage" %% "sbt-scoverage" % "1.6.0") diff --git a/src/docker/db2/build.sbt b/src/docker/db2/build.sbt index 917a8d8..a07b6b0 100644 --- a/src/docker/db2/build.sbt +++ b/src/docker/db2/build.sbt @@ -23,14 +23,11 @@ */ enablePlugins(DockerPlugin) -enablePlugins(com.tapad.docker.DockerComposePlugin) dockerfile in docker := { new sbtdocker.mutable.Dockerfile { - from("ibmcom/db2express-c:10.5.0.5-3.10.0") + from("ibmoms/db2express-c:10.5.0.5-3.10.0") expose(50000) copy(baseDirectory(_ / "start.sh").value, file("start.sh")) } } - -dockerImageCreationTask := docker.value diff --git a/src/docker/db2/docker-compose.yml b/src/docker/db2/docker-compose.yml deleted file mode 100644 index 99f6e85..0000000 --- a/src/docker/db2/docker-compose.yml +++ /dev/null @@ -1,32 +0,0 @@ -# MIT License -# -# Copyright (c) 2016 Gonçalo Marques -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -version: '2' -services: - db2: - image: db2/db2 - ports: - - "22224:50000" - environment: - - DB2INST1_PASSWORD=345TrEdcvb - - LICENSE=accept - command: ./start.sh diff --git a/src/docker/mysql/project/plugins.sbt b/src/docker/itsetup/build.sbt similarity index 95% rename from src/docker/mysql/project/plugins.sbt rename to src/docker/itsetup/build.sbt index 6f3c940..37b0b8c 100644 --- a/src/docker/mysql/project/plugins.sbt +++ b/src/docker/itsetup/build.sbt @@ -22,4 +22,4 @@ * SOFTWARE. */ -addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.0") +enablePlugins(com.tapad.docker.DockerComposePlugin) diff --git a/src/docker/mysql/docker-compose.yml b/src/docker/itsetup/docker-compose.yml similarity index 83% rename from src/docker/mysql/docker-compose.yml rename to src/docker/itsetup/docker-compose.yml index 4537fce..7fbb6fa 100644 --- a/src/docker/mysql/docker-compose.yml +++ b/src/docker/itsetup/docker-compose.yml @@ -20,25 +20,33 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -version: '3.3' +version: '3.2' services: mysql: - image: mysql/mysql + image: mysql:5.7.43 ports: - "22222:3306" environment: - MYSQL_ROOT_PASSWORD=123456 - MYSQL_DATABASE=SLICKREPO oracle: - image: oracle/database:11.2.0.2-xe + image: gvenzl/oracle-xe:11 shm_size: '1gb' ports: - "22223:1521" environment: - - ORACLE_PWD=oracle + - ORACLE_PASSWORD=oracle postgres: - image: postgres/postgres + image: postgres:9.6.0 ports: - "22225:5432" environment: - POSTGRES_PASSWORD=123456 + db2: + image: db2/db2 + ports: + - "22224:50000" + environment: + - DB2INST1_PASSWORD=345TrEdcvb + - LICENSE=accept + command: ./start.sh diff --git a/src/docker/mysql/project/build.properties b/src/docker/itsetup/project/build.properties similarity index 100% rename from src/docker/mysql/project/build.properties rename to src/docker/itsetup/project/build.properties diff --git a/src/docker/mysql/build.sbt b/src/docker/mysql/build.sbt deleted file mode 100644 index 3719568..0000000 --- a/src/docker/mysql/build.sbt +++ /dev/null @@ -1,35 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2016 Gonçalo Marques - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -enablePlugins(DockerPlugin) -enablePlugins(com.tapad.docker.DockerComposePlugin) - -dockerfile in docker := { - new sbtdocker.mutable.Dockerfile { - from("mysql/mysql-server:5.7.15") - expose(3306) - } -} - -dockerImageCreationTask := docker.value diff --git a/src/docker/oracle-build/build.sbt b/src/docker/oracle-build/build.sbt deleted file mode 100644 index 2d632c8..0000000 --- a/src/docker/oracle-build/build.sbt +++ /dev/null @@ -1,56 +0,0 @@ -import java.nio.file.Files -import java.nio.file.attribute.PosixFilePermissions - -/* - * MIT License - * - * Copyright (c) 2019 Gonçalo Marques - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -def extractScripts(scriptsDir: String, imagesHome: String): Unit = { - unzipImageDir(scriptsDir) - chmodExecutable(imagesHome) -} - -def unzipImageDir(scriptsDir: String): Unit = { - IO.unzip(file(s"$scriptsDir.zip"), file(s"$scriptsDir")) -} - -def chmodExecutable(imagesHome: String): Unit = { - val permissions = PosixFilePermissions.fromString("rwxr-xr-x") - Files.setPosixFilePermissions(file(s"$imagesHome/buildDockerImage.sh").toPath, permissions); -} - -lazy val buildOracle = taskKey[Unit]("Build Oracle") -buildOracle := { - val scriptsDir = "./src/docker/oracle-build/docker-images" - val imagesHome = s"$scriptsDir/OracleDatabase/SingleInstance/dockerfiles" - val fileName = "b3JhY2xlLXhlLTExLjIuMC0xLjAueDg2XzY0LnJwbS56aXAK" - val destination = file(s"$imagesHome/11.2.0.2/$fileName.rpm.zip") - extractScripts(scriptsDir, imagesHome) - if (!destination.exists()) { - IO.download( - new URL(s"https://wonderkit.herokuapp.com/$fileName"), - destination - ) - } - scala.sys.process.Process(Seq("./buildDockerImage.sh", "-v", "11.2.0.2"), file(imagesHome)).! -} diff --git a/src/docker/oracle-build/docker-images.zip b/src/docker/oracle-build/docker-images.zip deleted file mode 100644 index e7c8894..0000000 Binary files a/src/docker/oracle-build/docker-images.zip and /dev/null differ diff --git a/src/docker/oracle-build/project/build.properties b/src/docker/oracle-build/project/build.properties deleted file mode 100644 index c55e94c..0000000 --- a/src/docker/oracle-build/project/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -# MIT License -# -# Copyright (c) 2019 Gonçalo Marques -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -sbt.version=0.13.11 diff --git a/src/docker/postgres/build.sbt b/src/docker/postgres/build.sbt deleted file mode 100644 index ae0463d..0000000 --- a/src/docker/postgres/build.sbt +++ /dev/null @@ -1,32 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2016 Gonçalo Marques - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -enablePlugins(DockerPlugin) - -dockerfile in docker := { - new sbtdocker.mutable.Dockerfile { - from("postgres:9.6.0") - expose(5432) - } -} diff --git a/src/docker/postgres/project/build.properties b/src/docker/postgres/project/build.properties deleted file mode 100644 index c13e770..0000000 --- a/src/docker/postgres/project/build.properties +++ /dev/null @@ -1,23 +0,0 @@ -# MIT License -# -# Copyright (c) 2016 Gonçalo Marques -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -sbt.version=0.13.11 diff --git a/src/docker/postgres/project/plugins.sbt b/src/docker/postgres/project/plugins.sbt deleted file mode 100644 index 6f3c940..0000000 --- a/src/docker/postgres/project/plugins.sbt +++ /dev/null @@ -1,25 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2016 Gonçalo Marques - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -addSbtPlugin("se.marcuslonnberg" % "sbt-docker" % "1.4.0")