From 4bd8cf6f5c46ee8cf67b57536694caab839b364e Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 13 Aug 2017 10:27:06 -0700 Subject: [PATCH] Native tests depend on native sources, so include in exportedHeaders. (#222) --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7cc63e9..37805ca 100644 --- a/build.gradle +++ b/build.gradle @@ -194,7 +194,9 @@ model { ntcoreTestingBaseTest { sources { cpp.source.srcDir 'src/test/native/cpp' - cpp.exportedHeaders.srcDir 'src/test/native/include' + cpp.exportedHeaders { + srcDirs 'src/test/native/include', 'src/main/native/cpp' + } } } }