-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
30 lines (26 loc) · 1005 Bytes
/
build.sbt
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 / scalaVersion := "2.13.1"
ThisBuild / version := "0.1.0"
ThisBuild / organization := "com.mein.kraft"
ThisBuild / organizationName := "Mein Kraft"
val libgdxVersion = "1.9.10"
lazy val commonSettings = Seq()
lazy val core = project
.settings(
libraryDependencies ++= Seq(
"com.badlogicgames.gdx" % "gdx" % libgdxVersion,
"com.badlogicgames.gdx" % "gdx-bullet" % libgdxVersion,
"com.badlogicgames.gdx" % "gdx-tools" % libgdxVersion,
"com.badlogicgames.gdx" % "gdx-box2d" % libgdxVersion
)
)
lazy val desktop = project
.dependsOn(core)
.settings(
libraryDependencies ++= Seq(
"com.badlogicgames.gdx" % "gdx-backend-lwjgl" % libgdxVersion,
"com.badlogicgames.gdx" % "gdx-platform" % libgdxVersion classifier "natives-desktop",
"com.badlogicgames.gdx" % "gdx-bullet-platform" % libgdxVersion classifier "natives-desktop"
),
Compile / fork := true,
Compile / run / baseDirectory := file("core/src/main/scala/assets")
)