sbtgen
sbtgen copied to clipboard
Generate project structure for new artifact in build file
Once I defined new artifact it would be fantastic to generate all necessary folders for further project
we should know
- organisation (root package)
- folders for plugins (we define them in OppinionatedDIApp, but could also create sbt plugin Key like (
pluginsFolders)
and after re-import sbt we could retrieve follow ierarchy artifact-name
- src
--main
---scala
----
organisation----organisation+plugins-folder---resources --test ---resources ---scala ----organisation----organisation+plugins
What do you think, @pshirshov @kaishh ?
There is a stub functionality you may use.
newModule / newStub
You can make a giter8 template and use it with sbt init