Newer
Older
yuyuko-bot / build.sbt
@Илья Панфёров Илья Панфёров on 15 Jul 1 KB fix: Update yuyuko
name := "GensocDiscordBot"
version := "0.2"

scalaVersion := "2.13.11"

idePackagePrefix := Some("social.gensokyo.discordbot")

Compile / mainClass := Some("social.gensokyo.discordbot.DiscordBot")

resolvers += Resolver.JCenterRepository
resolvers += "dv8tion" at "https://m2.dv8tion.net/releases"
resolvers ++= Resolver.sonatypeOssRepos("snapshots")

libraryDependencies ++= Seq(
  "net.katsstuff"                 %% "ackcord"                         % "0.18.1" ,
  "net.katsstuff"                 %% "ackcord-core"                    % "0.18.1",
  "net.katsstuff"                 %% "ackcord-commands"                % "0.18.1",
  "net.katsstuff"                 %% "ackcord-lavaplayer-core"         % "0.18.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
}