Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-6414

Excluding modules in workspace when generating dist

    Details

    • Type: Improvement
    • Status: SME Review
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.1.x, 7.2.x
    • Component/s: Dev Tools
    • Labels:
      None

      Description

      You can avoid deploying a module insides of <workspace>/modules when you call distBundleZip by adding the following to the workspace's build.gradle file:

      distBundle {
      	exclude "com.liferay.jsp.spy*.jar"
      }
      

      This is useful for those who want to have a module in their workspace that is used for development or debug purposes only but not be deployed in production.

      This works for Gradle builds only at this time.

        Attachments

          Activity

            People

            • Assignee:
              richard.sezov Rich Sezov
              Reporter:
              cody.hoag Cody Hoag
              Subject Matter Expert:
              Gregory Amerson
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.1.x
                7.2.x