You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2 KiB

name := "GensocDiscordBot"
version := "0.1"
scalaVersion := "2.13.6"
idePackagePrefix := Some("social.gensokyo.discordbot")
Compile / mainClass := Some("social.gensokyo.discordbot.DiscordBot")
resolvers += Resolver.JCenterRepository
libraryDependencies ++= Seq(
"net.katsstuff" %% "ackcord" % "0.17.1" ,
"net.katsstuff" %% "ackcord-core" % "0.17.1",
"net.katsstuff" %% "ackcord-commands" % "0.17.1",
"net.katsstuff" %% "ackcord-lavaplayer-core" % "0.17.1",
"com.typesafe.slick" %% "slick" % "3.3.3",
"com.typesafe.slick" %% "slick-hikaricp" % "3.3.3",
"org.slf4j" % "slf4j-nop" % "1.7.32"
)
Global / excludeLintKeys ++= Set(
idePackagePrefix
)
assembly / assemblyJarName := s"${name.value}-${version.value}.jar"
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case PathList("module-info.class", xs @ _*) => MergeStrategy.discard
case PathList("reference.conf", xs @ _*) => MergeStrategy.concat
case x => MergeStrategy.first
}