ninja icon indicating copy to clipboard operation
ninja copied to clipboard

make templates dir configurable

Open asolntsev opened this issue 4 years ago • 2 comments

Currently templates dir is hardcoded: src/main/java/. See ninja.template.TemplateEngineFreemarker#srcDir.

Though, a best practice in Java project is storing such resources in src/main/resources.

I suggest at least to make it configurable.

asolntsev avatar Apr 26 '21 09:04 asolntsev

Sounds like a good idea :) PRs are really welcome. Let us know if we can help in any way!

raphaelbauer avatar Apr 29 '21 15:04 raphaelbauer

yes, I will prepare a PR.

asolntsev avatar Apr 29 '21 16:04 asolntsev