Skip to content

Added mappings for Java plugins in ./mill init#6745

Closed
ajaychandran wants to merge 6 commits into
com-lihaoyi:mainfrom
ajaychandran:init-java-kotlin-plugins
Closed

Added mappings for Java plugins in ./mill init#6745
ajaychandran wants to merge 6 commits into
com-lihaoyi:mainfrom
ajaychandran:init-java-kotlin-plugins

Conversation

@ajaychandran

@ajaychandran ajaychandran commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Added mappings for

  • mill.javalib.pmd.PmdModule
  • mill.javalib.palantirformat.PalantirFormatModule
  • mill.javalib.spotless.SpotlessModule
  • mill.javalib.revapi.RevapiModule
  • de.tobiasroeser.mill.jacoco.JacocoTestModule

Other enhancements/fixes:

@ajaychandran ajaychandran force-pushed the init-java-kotlin-plugins branch from e423392 to 2b0aca3 Compare April 5, 2026 07:07
- `mill.javalib.checkstyle.CheckstyleModule`

The code for generating meta-build files was segregated for reuse in YAML build file generation.
The code for transforming the build was encapsulated in `BuildSpec`.

Other enhancements/fixes:
- Added mapping for `spring-boot-starter-test` dependency (resolves com-lihaoyi#6077)
- Added mapping for `mill.javalib.palantirformat.PalantirFormatModule`
- Added mapping for `mill.javalib.spotless.SpotlessModule`
- Added mapping for `mill.javalib.revapi.RevapiModule`
- Added mapping for `de.tobiasroeser.mill.jacoco.JacocoTestModule`
- Fixed YAML encoding for `PomSettings`
- Added mapping for `JavaModule.annotationProcessorsMvnDeps` (eg: Lombok)
- Resolved com-lihaoyi#6827 by fixing handling of space delimited values
- Resolved com-lihaoyi#6865 by fixing YAML encoding for `PomSettings`
- Resolved com-lihaoyi#6876 by setting Gradle installation/version for projects that do not define a Gradle wrapper
@ajaychandran ajaychandran changed the title WIP: Added mappings for Java/Kotlin plugins in ./mill init WIP: Added mappings for Java plugins in ./mill init Apr 5, 2026
@ajaychandran ajaychandran force-pushed the init-java-kotlin-plugins branch from 2b0aca3 to cabc3e6 Compare April 5, 2026 13:46
@ajaychandran ajaychandran changed the title WIP: Added mappings for Java plugins in ./mill init Added mappings for Java plugins in ./mill init Apr 5, 2026

@lefou lefou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description only mentions fixes and additions, but I see also removals (BuildGen, extends BuildGen, override def writeBuildFiles, BuildGenUtil), renames (BuildSpec) and re-ordered parameter lists, which are worth a discussion. I'd prefer to have more incremental improvements. Currently, each PR feels like a complete overhaul.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants