diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-09-28 08:11:35 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-09-28 08:11:35 +0100 |
commit | 155beb280823d9efad65dd20dedc8a145faebbcd (patch) | |
tree | f8071fbe71e5b4e932e9509713de1ce3484b61de /build.sc | |
parent | cc0fbaec420c3e45f2bab1885c8c4d7e41c103eb (diff) | |
download | spacebeans-155beb280823d9efad65dd20dedc8a145faebbcd.tar.gz spacebeans-155beb280823d9efad65dd20dedc8a145faebbcd.zip |
Updatet Mill to 0.11.12
Diffstat (limited to 'build.sc')
-rw-r--r-- | build.sc | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -33,14 +33,12 @@ object server extends ScalaModule with ScalafmtModule with BuildInfo { ) val name = "spacebeans" - def buildInfoMembers: T[Map[String, String]] = - T { - Map( - "name" -> name, - "version" -> VcsVersion.vcsState().format() - ) - } - def buildInfoPackageName = Some("net.usebox.gemini.server") + def buildInfoMembers = + Seq( + BuildInfo.Value("name", name), + BuildInfo.Value("version", VcsVersion.vcsState().format()) + ) + def buildInfoPackageName = "net.usebox.gemini.server" def assembly = T { @@ -50,7 +48,10 @@ object server extends ScalaModule with ScalafmtModule with BuildInfo { PathRef(spacePath) } - object test extends Tests with TestModule.ScalaTest with ScalafmtModule { + object test extends ScalaTests with ScalafmtModule with TestModule.ScalaTest { def ivyDeps = Agg(ivy"org.scalatest::scalatest:3.2.19") + + def forkEnv = super.forkEnv() ++ + Map("MILL_TEST_RESOURCE_FOLDER" -> resources().map(_.path).mkString(";")) } } |