Unverified Commit 84d8fbd0 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

create skeleton sbt project



Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parents
.idea/
target/
import Dependencies._
ThisBuild / scalaVersion := "2.12.8"
ThisBuild / organization := "org.memobase"
ThisBuild / organizationName := "Memobase"
ThisBuild / git.gitTagToVersionNumber := { tag: String =>
if (tag matches "[0-9]+\\..*") Some(tag)
else None
}
lazy val root = (project in file("."))
.enablePlugins(GitVersioning)
.settings(
name := "fedora-media-extractor",
assemblyJarName in assembly := "app.jar",
mainClass in assembly := Some("org.memobase.App"),
libraryDependencies ++= Seq(
kafkaClients,
log4jApi,
log4jCore,
log4jSlf4j,
log4jScala,
scalatic,
scalaTest % Test)
)
import sbt._
object Dependencies {
lazy val kafkaV = "2.3.1"
lazy val log4jV = "2.11.2"
lazy val scalatestV = "3.1.2"
lazy val kafkaClients = "org.apache.kafka" % "kafka-clients" % kafkaV
lazy val log4jApi = "org.apache.logging.log4j" % "log4j-api" % log4jV
lazy val log4jCore = "org.apache.logging.log4j" % "log4j-core" % log4jV
lazy val log4jScala = "org.apache.logging.log4j" %% "log4j-api-scala" % "11.0"
lazy val log4jSlf4j = "org.apache.logging.log4j" % "log4j-slf4j-impl" % log4jV
lazy val scalatic = "org.scalactic" %% "scalactic" % scalatestV
lazy val scalaTest = "org.scalatest" %% "scalatest" % scalatestV
}
sbt.version=1.3.10
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment