|
| 1 | +/* |
| 2 | + * Copyright 2021 ABSA Group Limited |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * |
| 9 | + * Unless required by applicable law or agreed to in writing, software |
| 10 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + * See the License for the specific language governing permissions and |
| 13 | + * limitations under the License. |
| 14 | + */ |
| 15 | + |
| 16 | +ThisBuild / name := "fa-db" |
| 17 | +ThisBuild / organization := "za.co.absa" |
| 18 | + |
| 19 | +lazy val scala211 = "2.11.12" |
| 20 | +lazy val scala212 = "2.12.12" |
| 21 | + |
| 22 | +ThisBuild / scalaVersion := scala211 |
| 23 | +ThisBuild / crossScalaVersions := Seq(scala211, scala212) |
| 24 | +ThisBuild / publish := {} |
| 25 | + |
| 26 | +libraryDependencies ++= List( |
| 27 | + |
| 28 | + "org.scala-lang" % "scala-compiler" % scalaVersion.value, |
| 29 | + //"org.tpolecat" %% "skunk-core" % "0.2.0", |
| 30 | +// "org.scalikejdbc" %% "scalikejdbc" % "3.4.+", |
| 31 | +// "com.h2database" % "h2" % "1.4.+", |
| 32 | +// "ch.qos.logback" % "logback-classic" % "1.2.+", |
| 33 | + |
| 34 | + "com.typesafe.slick" %% "slick" % "3.3.3", |
| 35 | + "org.slf4j" % "slf4j-nop" % "1.6.4", |
| 36 | + "com.typesafe.slick" %% "slick-hikaricp" % "3.3.3", |
| 37 | + "org.postgresql" % "postgresql" % "9.4-1206-jdbc42", |
| 38 | +// |
| 39 | +// "io.github.finagle" %% "finagle-postgres" % "0.13.0", |
| 40 | + |
| 41 | + "org.scalatest" %% "scalatest" % "3.2.9" % Test, |
| 42 | + "org.scalamock" %% "scalamock" % "5.1.0" % Test |
| 43 | +) |
| 44 | + |
| 45 | +releasePublishArtifactsAction := PgpKeys.publishSigned.value |
0 commit comments