5

I am using IntelliJ IDEA 11.1.2 Ultimate with Gradle 1.0 multi module project. One module represents the domain. module structure

The projects output is points to [project-root]\out. But if I run a unit test the output folder of the domain module does not contain any .sql files at all. Output folder of domain. This is how I run the JUnit test within IntelliJ IDEA Test configuration.

If I run the project using Gradle from command line everything works fine.

IDEA project structure

saw303
  • 6,993
  • 4
  • 45
  • 81

1 Answers1

13

Settings | Compiler | Resource Patterns, add the pattern for the sql extension.

CrazyCoder
  • 371,688
  • 155
  • 943
  • 850