Skip to content

Commit 03a03a1

Browse files
authored
Rebootstrap on 0.12.5 (#4220)
1 parent 46812bb commit 03a03a1

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

.config/mill-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
0.12.4-23-2ff492
1+
0.12.5
22

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,4 @@ jobs:
169169
uses: ./.github/workflows/post-build-raw.yml
170170
with:
171171
java-version: '17'
172-
buildcmd: ./mill -i mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources + __.mimaReportBinaryIssues + __.fix --check + mill.javalib.palantirformat.PalantirFormatModule/ --check + mill.kotlinlib.ktlint.KtlintModule/checkFormatAll --check
172+
buildcmd: ./mill -i mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources + __.mimaReportBinaryIssues + __.fix --check + mill.javalib.palantirformat.PalantirFormatModule/ --check + mill.kotlinlib.ktlint.KtlintModule/checkFormatAll

build.mill

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ object Settings {
3838
)
3939
val docTags: Seq[String] = Seq(
4040
"0.11.13",
41-
"0.12.4"
41+
"0.12.5"
4242
)
4343
val mimaBaseVersions: Seq[String] =
4444
0.to(13).map("0.11." + _) ++
45-
Seq("0.12.0", "0.12.1", "0.12.2", "0.12.3", "0.12.4")
45+
Seq("0.12.0", "0.12.1", "0.12.2", "0.12.3", "0.12.4", "0.12.5")
4646
}
4747

4848
object Deps {

contrib/proguard/src/mill/contrib/proguard/Proguard.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ trait Proguard extends ScalaModule {
7676
def libraryJars: T[Seq[PathRef]] = Task {
7777
val javaJars =
7878
os.list(javaHome().path / "lib", sort = false).filter(_.ext == "jar").toSeq.map(PathRef(_))
79-
javaJars ++ java9RtJar()
79+
javaJars
8080
}
8181

8282
/**
@@ -96,7 +96,10 @@ trait Proguard extends ScalaModule {
9696
"-outjars",
9797
outJar,
9898
"-libraryjars",
99-
libraryJars().map(_.path).mkString(java.io.File.pathSeparator),
99+
(
100+
libraryJars().map(_.path) ++
101+
Seq("<java.home>/jmods/java.base.jmod(!**.jar;!module-info.class)")
102+
).mkString(java.io.File.pathSeparator),
100103
entryPoint(),
101104
additionalOptions()
102105
).flatMap(_.value)

integration/feature/launcher-old-versions/src/LauncherOldVersionsTests.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class LauncherOldVersionsTests(version: String) extends UtestIntegrationTestSuit
1616
val launcherScript = sys.env(launcherEnv)
1717
os.write.over(workspacePath / ".mill-version", version)
1818

19+
// Remove `rt.jar` cache to make sure each old version can download it properly
20+
os.remove.all(os.home / ".mill/ammonite")
21+
1922
// Run Mill once beforehand just to make sure it gets initialized and
2023
// none of the initialization output gets into `outText`
2124
os.call(cmd = (launcherScript, "version"), cwd = workspacePath, stderr = os.Pipe)
@@ -38,6 +41,6 @@ class LauncherOldVersionsTests(version: String) extends UtestIntegrationTestSuit
3841
//object LauncherVersionTests_0_6 extends LauncherOldVersionsTests("0.6.3")
3942
//object LauncherVersionTests_0_7 extends LauncherOldVersionsTests("0.7.4")
4043
//object LauncherVersionTests_0_8 extends LauncherOldVersionsTests("0.8.0")
41-
object LauncherVersionTests_0_9 extends LauncherOldVersionsTests("0.9.12")
42-
object LauncherVersionTests_0_10 extends LauncherOldVersionsTests("0.10.15")
44+
//object LauncherVersionTests_0_9 extends LauncherOldVersionsTests("0.9.12")
45+
//object LauncherVersionTests_0_10 extends LauncherOldVersionsTests("0.10.15")
4346
object LauncherVersionTests_0_11 extends LauncherOldVersionsTests("0.11.13")

0 commit comments

Comments
 (0)