Move to subproject

This commit is contained in:
jilen 2025-07-23 10:41:29 +08:00
parent 9a7f66a268
commit 73bad1448d
96 changed files with 21 additions and 13 deletions

View file

@ -1,15 +1,23 @@
name := "minisql" val prjScalaVersion = "3.7.1"
scalaVersion := "3.7.1" lazy val root = (project in file("."))
.aggregate(core)
.settings(
name := "minisql",
scalaVersion := prjScalaVersion
)
libraryDependencies ++= Seq( lazy val core = (project in file("core"))
"org.scalameta" %% "munit" % "1.1.1" % Test .settings(
) name := "minisql-core",
scalaVersion := prjScalaVersion,
libraryDependencies ++= Seq(
scalacOptions ++= Seq( "org.scalameta" %% "munit" % "1.1.1" % Test
"-deprecation", ),
"-feature", scalacOptions ++= Seq(
"-source:3.7-migration", "-deprecation",
"-rewrite" "-feature",
) "-source:3.7-migration",
"-rewrite"
)
)