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

Native unit test plug-ins cause problems with multiple native languages

    XMLWordPrintable

    Details

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

      Description

      cunit and google-test native unit test plugins currently assume the project contains only one native language (C for cunit and C++ for google-test). If you apply another language plugin and have source files for both languages, the unit test plug-in will cause an exception when evaluating the project.

      > Exception thrown while executing model rule: org.gradle.language.base.plugins.ComponentModelBasePlugin$Rules#createSourceTransformTasks(org.gradle.api.tasks.TaskContainer, org.gradle.platform.base.BinaryContainer, org.gradle.language.base.internal.LanguageRegistry)
      > Extension with name 'cppCompiler' does not exist. Currently registered extension names: [ext, cCompiler]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            big-guy Sterling Greene
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: