Skip to content

Improve build scripts#256

Merged
freya022 merged 6 commits into3.Xfrom
refactor/build
Feb 9, 2026
Merged

Improve build scripts#256
freya022 merged 6 commits into3.Xfrom
refactor/build

Conversation

@freya022
Copy link
Owner

@freya022 freya022 commented Feb 9, 2026

  • Split into more convention plugins: Dokka, publishing, Java configuration, Kotlin configuration
  • Set default JVM target to 17 for the main source set
  • Set default JVM target to the toolchain's version for other source sets
  • Removed Dokka from published libraries that have no API
    • Publishing an empty JAR instead
  • Only add Dokka external doc links to relevant modules
  • Dokka convention plugin now checks if the root project aggregates all modules using it
  • Moved stuff to packages
  • Used (Gradle) extensions to share common data between plugins

This is to avoid unnecessary configuration in projects which only exports internals

Also moved common properties of published projects to an extension so it can be accessed by multiple plugins
Also automatically configures an empty JAR to be published
- Split into more convention plugins
- Non-main compile tasks default to the toolchain version
- Main compile tasks default to 17
- Fixed some test dependencies being declared on the main dependencies
- Moved shared build logic to packages
@freya022 freya022 merged commit 9b6c686 into 3.X Feb 9, 2026
1 check passed
@freya022 freya022 deleted the refactor/build branch February 9, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant