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 https://github.com/moditect/moditect-gradle-plugin/issues/16).
Manually specifies the project JAR as input because the task erroneously does not do that itself (https://github.com/moditect/moditect-gradle-plugin/pull/17). Previously this could lead to incorrect UP-TO-DATE results for addMainModuleInfo where the module descriptor was not added to the JAR.
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 https://github.com/moditect/moditect-gradle-plugin/issues/16).Manually specifies the project JAR as input because the task erroneously does not do that itself (https://github.com/moditect/moditect-gradle-plugin/pull/17). Previously this could lead to incorrect UP-TO-DATE results for
addMainModuleInfo
where the module descriptor was not added to the JAR.