Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3126

Cannot create container element using '«name» {}' when scope owner contains `«name»(Closure)` method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1-rc-1
    • Known Issue Of:
      2.0

      Description

      Hi,

      I'm testing gradle 2.0 with our multiproject build, and it gets stuck when applying the integrationTest pattern with the error "Could not find method integrationTestCompile". The funny thing is, that with subprojects{} instead of allprojects{} it seems to work fine. Is this a bug or am I missing something?

      Stacktrace: [1]https://gist.github.com/anonymous/f44...
      gradle build files: [2]https://gist.github.com/anonymous/2f5...

      Regards,
      Oliver
      ----------------------------------------------------------------------------------------
      [1] https://gist.github.com/anonymous/f44e7526861ef59402fd
      [2] https://gist.github.com/anonymous/2f595507c284846b1f57

        Attachments

          Activity

            People

            Assignee:
            ldaley Luke Daley
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: