Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84253

Fail to execute gradle watch task on ext-module project

Details

    Description

      Steps to reproduce:

      1.Create a new ogsi ext-module project . The template link :https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins/src/gradleTest/osgiExt

      2.Run gradle watch on this project and exception happened :

      $ ./gradlew watch
      :compileJava UP-TO-DATE
      :buildCSS UP-TO-DATE
      :processResources UP-TO-DATE
      :classes UP-TO-DATE
      :unzipOriginalModule UP-TO-DATE
      :jar UP-TO-DATE
      :buildBundleDir UP-TO-DATE
      :jarCompileIncludeFragment FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Could not evaluate onlyIf predicate for task ':jarCompileIncludeFragment'.
        > Configuration with name 'compileInclude' not found.

       

      Attachments

        Activity

          People

            lawrence.lee Lawrence Lee
            charles.wu Charles Wu (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              46 weeks, 5 days ago

              Packages

                Version Package