asafdav2 wrote: > > i've tried the getResourceAsStream method, however it only works when > running the test using gradle. when running in intellij the resource isn't > found (it returns a null InputStream). my project configs both the > src/test/java and src/test/resources as Test Sources directories. > any more ideas? >
Add "?*.txt" to Settings->Project Settings->Compiler->Resource Patterns. -- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/multi-module-projects-and-relative-directories-tp4378969p4380529.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
