Dependencies.scala 1.98 KB
Newer Older
35V LG84's avatar
35V LG84 committed
1
/*
35V LG84's avatar
35V LG84 committed
2
 * Copyright 2016-2019 E257.FI
35V LG84's avatar
35V LG84 committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
import sbt._
import Keys._

object Dependencies {
  /*
   * Versions
   */
35V LG84's avatar
35V LG84 committed
24
  val betterFilesVersion = "3.8.0"
25 26 27
  val catsVersion = "2.0.0-RC1"
  val circeVersion = "0.12.0-RC1"
  val circeOpticsVersion = "0.12.0-RC1"
28 29
  val scalatestVersion = "3.0.8"
  val scallopVersion = "3.3.1"
35V LG84's avatar
35V LG84 committed
30
  val scalaCollCompatVersion = "2.1.2"
35V LG84's avatar
35V LG84 committed
31
  val configVersion = "1.3.4"
32 33
  val dirsuiteVersion = "0.30.1"
  val jgitVersion = "5.4.0.201906121030-r"
35V LG84's avatar
35V LG84 committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
  val logbackVersion = "1.2.3"


  /*
   * Libraries
   */
  /* lib: scala */
  val betterFiles = "com.github.pathikrit" %% "better-files" % betterFilesVersion
  val cats_core = "org.typelevel" %% "cats-core" % catsVersion
  val circe_deps = Seq(
    "io.circe" %% "circe-core",
    "io.circe" %% "circe-generic",
    "io.circe" %% "circe-parser",
  ).map(_ % circeVersion)

  val circe_deps_test = Seq(
    "io.circe" %% "circe-optics"
51
  ).map(_ % circeOpticsVersion % "it,test")
35V LG84's avatar
35V LG84 committed
52

35V LG84's avatar
35V LG84 committed
53 54
  val scalaCollCompat = "org.scala-lang.modules" %% "scala-collection-compat" % scalaCollCompatVersion

35V LG84's avatar
35V LG84 committed
55 56
  val scalatest = "org.scalatest" %% "scalatest" % scalatestVersion
  val scallop = "org.rogach" %% "scallop" % scallopVersion
35V LG84's avatar
35V LG84 committed
57
  val dirsuite = "fi.e257.testing" %% "dirsuite" % dirsuiteVersion
35V LG84's avatar
35V LG84 committed
58 59 60 61 62 63 64

  /* lib: java */
  val jgit = "org.eclipse.jgit" % "org.eclipse.jgit" % jgitVersion
  val logback = "ch.qos.logback" % "logback-classic" % logbackVersion
  val typesafeConfig = "com.typesafe" % "config" % configVersion

}