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

using JacocoMerge throws error "You can't map a property that does not exist: propertyName=destFile"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.7-rc-1
    • Fix Version/s: 1.7-rc-2

      Description

      After upgrading Gradle from 1.6 to 1.7-rc-1, Gradle fails to evaluate build files with JacocoMerge tasks.

      • What went wrong:
        A problem occurred evaluating root project 'gradle-test'.
        > Failed to notify action.
        > You can't map a property that does not exist: propertyName=destFile

      build.gradle:

      apply plugin: 'jacoco'

      task merge(type: JacocoMerge) {
      }

      This problem is probably caused by [JacocoPlugin]([1]https://github.com/gradle/gradle/blob...), which is using destFile instead of destinationFile.
      ----------------------------------------------------------------------------------------
      [1] https://github.com/gradle/gradle/blob/master/subprojects/jacoco/src/main/groovy/org/gradle/testing/jacoco/plugins/JacocoPlugin.groovy#L89

        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: