Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support resource output directory configuration #1282
Using Spring Loaded, Gradle, Intellij and Findbugs leads to issue because the output resources directory is not supported.
Using Spring Loaded with Gradle in Idea requires that the
Ideally we'd be able to configure the output directory for resources to be something like
Resources are copied to same folder as class files
Steps to Reproduce (for bugs)
Build a project using Gradle / Findbugs with the outputDir configured to be:
This is related to issue: https://discuss.gradle.org/t/idea-plugin-resource-folders-support/5692
I don't think IntelliJ makes a distinction between the output directory for class files and resources files. There's only a way to separate production class files and test class files.
IntelliJ 13 allows for assigning different source directories for Java source files and resource files. However, all of these files end up in the same output directory. Please let me know if you know of IntelliJ documentation that does let you configuring it.
In IntelliJ's UI, you can configure the output directory for resources in Project Structure > Modules > (module name) > Paths, by picking the "Use module compile output path" radio button and entering the target paths. The trick is that this is the setting on the
This causes the following to be written to
This is with IntelliJ 2017.1.1.