Uploaded image for project: 'Corda'
  1. CORDA-2642

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

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None

      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.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                chris.rankin Chris Rankin
                Reporter:
                chris.rankin Chris Rankin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: