fix build errors, and bump resource-tools version

This commit is contained in:
A.C.Sukazyo Eyre 2024-07-18 14:54:15 +08:00
parent e6b5fa5157
commit 4faa9cb5e5
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 12 additions and 3 deletions

View File

@ -113,3 +113,12 @@ lazy val morny_coeur = (project in file(MornyProject.morny_coeur.id))
lazy val root = (project in file (".")) lazy val root = (project in file ("."))
.aggregate(morny_system_lib, morny_coeur) .aggregate(morny_system_lib, morny_coeur)
.settings(
assembly / aggregate := false,
assembly := {
(morny_coeur / assembly).value
},
run := {
(morny_coeur / Compile / run).evaluated
}
)

View File

@ -43,7 +43,7 @@ object MornyConfiguration {
"com.github.spotbugs" % "spotbugs-annotations" % "4.8.4" % Compile, "com.github.spotbugs" % "spotbugs-annotations" % "4.8.4" % Compile,
"cc.sukazyo" % "messiva" % "0.2.0", "cc.sukazyo" % "messiva" % "0.2.0",
"cc.sukazyo" % "resource-tools" % "0.3.0", "cc.sukazyo" % "resource-tools" % "0.3.1",
"com.github.pengrad" % "java-telegram-bot-api" % "6.2.0", "com.github.pengrad" % "java-telegram-bot-api" % "6.2.0",
@ -70,14 +70,14 @@ object MornyConfiguration {
override val group = GROUP override val group = GROUP
override val root_package = s"$GROUP.cono.morny" override val root_package = s"$GROUP.cono.morny"
override val main_class = s"${this.root_package}.ServerMain" override val main_class = s"${this.root_package}.core.ServerMain"
override val dependencies = Seq( override val dependencies = Seq(
"com.github.spotbugs" % "spotbugs-annotations" % "4.8.4" % Compile, "com.github.spotbugs" % "spotbugs-annotations" % "4.8.4" % Compile,
"cc.sukazyo" % "messiva" % "0.2.0", "cc.sukazyo" % "messiva" % "0.2.0",
"cc.sukazyo" % "resource-tools" % "0.3.0", "cc.sukazyo" % "resource-tools" % "0.3.1",
"com.github.pengrad" % "java-telegram-bot-api" % "6.2.0", "com.github.pengrad" % "java-telegram-bot-api" % "6.2.0",
"org.http4s" %% "http4s-dsl" % "0.23.27", "org.http4s" %% "http4s-dsl" % "0.23.27",