corda / corda-gradle-plugins

Gradle plugins used by Corda and Cordapps
Other
24 stars 36 forks source link

CORE-6551: Add applyImportPolicies to CPK plugin's task inputs. #556

Closed chrisr3 closed 2 years ago

chrisr3 commented 2 years ago

Add the applyImportPolicies property to the jar task's inputs when creating CPKs. This is largely for "completeness" because the policies are included into the Import-Package instruction anyway. However, it does allow Gradle to rebuild CPKs if this flag changes, which is what developers would expect to happen even if it makes no difference to Gradle.