[GRADLE-2925] Headers for source set added to NativeBinary are not available for compilation Created: 22/Oct/13 Updated: 22/Nov/13 Resolved: 22/Nov/13 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | None |
| Fix Version/s: | 1.10-rc-1 |
| Type: | Bug | ||
| Reporter: | Daz DeBoer | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Description |
|
Headers exported from a sourceset that are applied to a binary (as opposed to component) are not available to a consuming component:
libraries {
hello {
source sources.main.cpp
binaries.all {
source sources.linux.cpp
}
}
}
executables {
main {
lib libraries.hello
}
}
Then the headers from 'sources.main.cpp' are included when compiling 'executables.main', but headers for 'sources.linux.cpp' are not. |