[GRADLE-3225] Native unit test plug-ins cause problems with multiple native languages Created: 19/Jan/15  Updated: 03/Jun/15  Resolved: 03/Jun/15

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.5-rc-1

Type: Bug
Reporter: Sterling Greene Assignee: Unassigned
Resolution: Fixed Votes: 0


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]

Generated at Wed Jun 30 12:43:15 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.