Applying CordFormation and Cordapp Gradle plugins together includes Jolokia into the Cordapp.

Description

The cordformation plugin adds Jolokia to the runtime classpath, and the cordapp plugin creates a semi-fat jar containing all of that Gradle module's non-Corda related dependencies.

A Corda-related dependency belongs to either the cordaCompile or cordaRuntime configuration. We therefore need to add Jolokia to the cordaRuntime configuration rather than to runtime, to prevent it from being accidentally included in the CorDapp semi-fat jar.

Status

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

None

Priority

Medium

Fix versions

Ported to...

None

Feature Team

Select team

CVSS Vector

None

Severity

Medium
Configure