Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1904

Gradle plugin does not package archiveTask

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2018.3.3, 2018.4.1
    • Fix Version/s: 2018.4.1
    • Component/s: plugins
    • Labels:
      None
    • Story Points:
      1
    • Steps to Reproduce:
      Hide

      1 Define Gradle script with;

      swarm

      { archiveTask = jarTask }

      where jarTask is a custom jar task

      2) run gradle build

      The jar/war bundled in _bootsrap/ in the *-swarm.jar file is not the output from the jarTask task.

      Show
      1 Define Gradle script with; swarm { archiveTask = jarTask } where jarTask is a custom jar task 2) run gradle build The jar/war bundled in _bootsrap/ in the *-swarm.jar file is not the output from the jarTask task.

      Description

      The gradle plugin does not wrap the output from a jar task defined by archiveTask. The documentation states archiveTask defines "A Jar-Task which should be wrapped instead of the JAR-Task (Java-Plugin) or WAR-Task (WAR-Plugin)".

      Currently, the project Jar/War output is wrapped and the archiveTask output is not included.

      swarm

      { archiveTask = jarTask }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                johara John O'Hara
                Reporter:
                johara John O'Hara
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: