I'm considering creating a PR for the app template, showing how to create java files:
- Create mynewapp/java/src/mynewapp/FindMe.java
- Add how to compile it to build.tmpl
- Add how to call it to main.tmpl
- ...
Is this within the scope of deps-new? I always end up having to add some java files and it would be nice if everything was just there.It's out of scope for the template and deps-new in general, but would be a good addition to http://clojure-doc.org I think somewhere...
Either as part of the tools.build cookbook or possibly even a separate cookbook on polyglot projects?
When you say tools.build cookbook, do you mean this? https://clojure-doc.org/articles/cookbooks/cli_build_projects/
That would be a fine way to add it. When I look at the toc to the right my eyes are dragged towards "Java Interop". Maybe the java interop could link to the right section in the tools.build chapter?
Sure, sounds like a reasonable approach. If you want to draft up a PR we can go back and forth in a review on it. If you have questions you need answering first, feel free to open up an issue to get clarifications.
Thank you, I'll write a PR when I get the chance and we can discuss there. Thanks for all you do for the clojure community!