corda / corda-gradle-plugins

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

NOTICK: Refactor how we create Corda's configurations, hopefully for clarity. #500

Closed chrisr3 closed 2 years ago

chrisr3 commented 2 years ago

The quasar-utils plugin will now always create the cordaProvided and cordaRuntimeOnly configurations, and will adjust their definitions appropriately if/when the java plugin is also applied. This brings the plugin's behaviour more into line with its 5.1.0-SNAPSHOT version.

Also simplify how the cordapp-cpk plugin creates its cordaRuntimeOnly configuration, so that the code is more obviously the same, and ensure that Quasar's "exclusions" parameters are all genuine String objects.