fix sbt publish error and add name for root project

This commit is contained in:
A.C.Sukazyo Eyre 2024-08-08 23:04:03 +08:00
parent 4faa9cb5e5
commit 7cf06a539c
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 10 additions and 3 deletions

View File

@ -51,7 +51,6 @@ ThisBuild / publishTo := MornyProject.publishTo
ThisBuild / credentials ++= MornyProject.publishCredentials
lazy val morny_system_lib = (project in file (MornyProject.morny_system_lib.id))
.enablePlugins(BuildInfoPlugin)
.settings(
name := MornyProject.morny_system_lib.name,
@ -114,11 +113,19 @@ lazy val morny_coeur = (project in file(MornyProject.morny_coeur.id))
lazy val root = (project in file ("."))
.aggregate(morny_system_lib, morny_coeur)
.settings(
name := "Coeur Morny Cono",
skip := true,
update / skip := false,
assembly / aggregate := false,
assembly := {
(morny_coeur / assembly).value
},
run / aggregate := false,
run := {
(morny_coeur / Compile / run).evaluated
}
)

View File

@ -10,7 +10,7 @@ object MornyConfiguration {
val VERSION_DELTA: Option[String] = None
val CODENAME = "xinzheng"
val SNAPSHOT = true
val SNAPSHOT = false
val GROUP = "cc.sukazyo"
val GROUP_NAME = "A.C. Sukazyo Eyre"
@ -65,7 +65,7 @@ object MornyConfiguration {
object Morny_Coeur extends ProjectMetadata with Runnable {
override val name = "Coeur Morny Cono"
override val name = "Morny Coeur"
override val id = "morny-coeur"
override val group = GROUP