WIP: Fix build functionality post auto-migration #6083
Draft
+2,643
−3,616
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up to #5428 that adds several enhancements and fixes to enable build functionality.
mill-jvm-versiontosystem.depManagement,sourcesFolders,sources,resources, testforkArgs.Summary of code changes
libs/init/package.mill: Added mock tests to check build functionality post migration. Migrated modules to Scala3.8.0-RC2; this bumps the minimum JDK requirement to version 17.libs.init.buildgen.api: AddedModuleSpec.ValueandModuleSpec.Valuesto capture cross-version specific values and inheritance relationships for module members defined inModuleSpec.libs.init.buildgen: AddedBuildGenfor generating meta-build types and writing build files usingModuleSpec.libs.init.buildgen.test: UpdatedBuildGenCheckerto test implementations with a customJAVA_HOME.libs.init.gradle.exportplugin: UpdatedBuildModelBuilder.toPackageand added enhancements/fixes.libs.init.gradle: Refactored and updatedGradleBuildGenMain.libs.init.gradle.test: Removed tests for Gradle version6.0and7.0and added test for version7.2(minimum version that runs on JDK 17).libs.init.maven: Added workaround to retain BOM dependencies and fixed configuring system properties inModeler. RefactoredPluginsand fixederrorProneMvnDepsderivation. Refactored and updatedMavenBuildGenMain.libs.init.sbt.exportplugin: UpdatedExportBuildPlugin.exportProjectand added enhancements/fixes.libs.init.sbt: Refactored and updatedSbtBuildGenMain.Pending items
./mill initonlichess-org/lilaresults in invalid test suite modules #5536./mill initfrom SBT, Maven, and Gradle #5571integration.manual[migrating]module #6039mill initshould provide a--helpoption #6043ghidraorRxJava#6075jadxgradle project fails #6076./mill initwork for spring-boot-examples project #6077./mill initon the Netty project fails compilation #6078./mill initfails to compile for Mockito codebase #6080./mill initfails forTheAlgorithms/Javaandalibaba/fastjson2#6081