From 0b226f2acb77e759d2cd53e2e2091017b4f2f059 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Wed, 6 Nov 2024 13:35:19 +0100 Subject: [PATCH 1/2] Update MavenModule.scala --- scalalib/src/mill/scalalib/MavenModule.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scalalib/src/mill/scalalib/MavenModule.scala b/scalalib/src/mill/scalalib/MavenModule.scala index f1bc38aaaf9..58b7d4febc9 100644 --- a/scalalib/src/mill/scalalib/MavenModule.scala +++ b/scalalib/src/mill/scalalib/MavenModule.scala @@ -20,7 +20,7 @@ trait MavenModule extends JavaModule { outer => @nowarn type MavenTests = MavenModuleTests - @deprecated("Use JavaTests instead", since = "Mill 0.11.10") + @deprecated("Use MavenTests instead", since = "Mill 0.11.10") trait MavenModuleTests extends JavaTests { override def millSourcePath = outer.millSourcePath override def intellijModulePath: os.Path = outer.millSourcePath / "src/test" From 4fbc9de9cecc645c96a9d00590c6e4a05a2d1e09 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Wed, 6 Nov 2024 14:08:53 +0100 Subject: [PATCH 2/2] Update JavaModule.scala --- scalalib/src/mill/scalalib/JavaModule.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scalalib/src/mill/scalalib/JavaModule.scala b/scalalib/src/mill/scalalib/JavaModule.scala index 31172c0d754..29638578cde 100644 --- a/scalalib/src/mill/scalalib/JavaModule.scala +++ b/scalalib/src/mill/scalalib/JavaModule.scala @@ -68,8 +68,8 @@ trait JavaModule val outerInnerSets = Seq( ("mill.scalajslib.ScalaJSModule", "ScalaJSTests"), ("mill.scalanativelib.ScalaNativeModule", "ScalaNativeTests"), - ("mill.scalalib.SbtModule", "SbtModuleTests"), - ("mill.scalalib.MavenModule", "MavenModuleTests") + ("mill.scalalib.SbtModule", "SbtTests"), + ("mill.scalalib.MavenModule", "MavenTests") ) for { (mod, testModShort) <- outerInnerSets