11// mill plugins
2- import $ivy .`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0 `
2+ import $ivy .`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.1 `
33// Run integration tests with mill
4- import $ivy .`de.tototec::de.tobiasroeser.mill.integrationtest::0.7.1 `
4+ import $ivy .`de.tototec::de.tobiasroeser.mill.integrationtest::0.7.3 `
55// Generate converage reports
66import $ivy .`com.lihaoyi::mill-contrib-scoverage:`
77
@@ -28,9 +28,9 @@ trait Deps {
2828 // The mill API version used in the project/sources/dependencies, also default for integration tests
2929 def millVersion : String
3030 def millPlatform : String
31- def scalaVersion : String = " 2.13.14 "
31+ def scalaVersion : String = " 2.13.16 "
3232 def millTestVersions : Seq [String ]
33- val scoverageVersion = " 2.2.0 "
33+ val scoverageVersion = " 2.4.1 "
3434
3535 val bndlib = ivy " biz.aQute.bnd:biz.aQute.bndlib:6.4.1 "
3636 val logbackClassic = ivy " ch.qos.logback:logback-classic:1.1.3 "
@@ -47,36 +47,17 @@ object Deps_0_11 extends Deps {
4747 override val millVersion = " 0.11.0" // scala-steward:off
4848 override def millPlatform = " 0.11"
4949 // keep in sync with .github/workflows/build.yml
50- override val millTestVersions = Seq (" 0.11.6 " , millVersion)
50+ override val millTestVersions = Seq (" 0.12.16 " , " 0.12.0 " , " 0. 11.12 " , millVersion)
5151}
5252object Deps_0_10 extends Deps {
5353 override val millVersion = " 0.10.0" // scala-steward:off
5454 override def millPlatform = " 0.10"
5555 // keep in sync with .github/workflows/build.yml
5656 override val millTestVersions = Seq (" 0.10.12" , millVersion)
5757}
58- object Deps_0_9 extends Deps {
59- override val millVersion = " 0.9.3" // scala-steward:off
60- override def millPlatform = " 0.9"
61- // keep in sync with .github/workflows/build.yml
62- override val millTestVersions = Seq (" 0.9.12" , millVersion)
63- }
64- object Deps_0_7 extends Deps {
65- override val millVersion = " 0.7.0" // scala-steward:off
66- override def millPlatform = " 0.7"
67- // keep in sync with .github/workflows/build.yml
68- override val millTestVersions = Seq (" 0.8.0" , " 0.7.4" , millVersion)
69- }
70- object Deps_0_6 extends Deps {
71- override val millVersion = " 0.6.0" // scala-steward:off
72- override def millPlatform = " 0.6"
73- override val scalaVersion = " 2.12.19"
74- // keep in sync with .github/workflows/build.yml
75- override val millTestVersions = Seq (" 0.6.3" , millVersion)
76- }
7758
7859/** Cross build versions */
79- val millPlatforms = Seq (Deps_0_11 , Deps_0_10 , Deps_0_9 , Deps_0_7 , Deps_0_6 ).map(x => x.millPlatform -> x)
60+ val millPlatforms = Seq (Deps_0_11 , Deps_0_10 ).map(x => x.millPlatform -> x)
8061
8162trait MyScoverageModule extends ScoverageModule {
8263 override lazy val scoverage : ScoverageData = new MyScoverageData {}
@@ -210,24 +191,3 @@ trait ItestCross extends MillIntegrationTestModule with Cross.Module[String] {
210191 PathRef (T .dest)
211192 }
212193}
213-
214- /** Convenience targets. */
215- object P extends Module {
216-
217- /**
218- * Update the millw script.
219- */
220- def millw () = T .command {
221- // https://raw.githubusercontent.com/lefou/millw/master/millw
222- for {
223- file <- Seq (" millw" , " millw.bat" )
224- } yield {
225- val target = Util .download(s " https://raw.githubusercontent.com/lefou/millw/master/ ${file}" )
226- val millw = baseDir / file
227- os.copy.over(target.path, millw)
228- os.perms.set(millw, os.perms(millw) + PosixFilePermission .OWNER_EXECUTE )
229- target
230- }
231- }
232-
233- }
0 commit comments