-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
30 lines (27 loc) · 714 Bytes
/
build.sbt
File metadata and controls
30 lines (27 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.1.1"
lazy val root = (project in file("."))
.settings(
name := "Drop",
libraryDependencies ++= Dependencies.Gdx(),
javacOptions ++= Seq(
"-Xlint",
"-encoding", "UTF-8",
"-source", "17",
"-target", "17"
),
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-encoding", "UTF-8",
),
assembly / assemblyJarName := "drop.jar"
)
ThisBuild / assemblyMergeStrategy := {
case PathList(path @ _*) if path.last == "module-info.class" =>
MergeStrategy.discard
case x =>
val strategy = (ThisBuild / assemblyMergeStrategy).value
strategy(x)
}