-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Build Caching of Maven plugin tasks (#3531)
- Update MvnExec task: - separate classes/resources inputs - filter and annotate classes input: 1. only include `.class` files (the compileKotlin file includes caches) 2. annotate with `@Classpath` so Gradle will be able to normalize the files - Update `generatePom` task to manually register the version inputs, to ensure Gradle will re-run the task if they change. - Update `helpMojoResources` to exclude `maven-plugin-help.properties`, because it contains a property with an absolute file path, meaning that Build Cache cannot be shared between CI and local machines.
- Loading branch information
Showing
2 changed files
with
41 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters