Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve addMainModuleInfo task configuration #150

Conversation

Marcono1234
Copy link
Contributor

@Marcono1234 Marcono1234 commented Aug 23, 2022

Removes version = because it seems to reassign the project version instead of configuring the task (the task has no setter for the module info version, it uses the project version) (see moditect/moditect-gradle-plugin#16).

Manually specifies the project JAR as input because the task erroneously does not do that itself (moditect/moditect-gradle-plugin#17). Previously this could lead to incorrect UP-TO-DATE results for addMainModuleInfo where the module descriptor was not added to the JAR.

This also remove `version =` because it seems to reassign the project
version instead of configuring the task (the task has no setter for the
module info version, it uses the project version).
@pemistahl
Copy link
Owner

Thank you, @Marcono1234. Your changes look reasonable to me.

@pemistahl pemistahl merged commit 2f78491 into pemistahl:main Oct 24, 2022
@pemistahl pemistahl added this to the Lingua 1.3.0 milestone Oct 25, 2022
@Marcono1234 Marcono1234 deleted the marcono1234/module-info-task-improvements branch October 25, 2022 17:12
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.

2 participants