features icon indicating copy to clipboard operation
features copied to clipboard

feat(java): add installSbt to java feature

Open hugo-vrijswijk opened this issue 2 years ago • 1 comments

I was missing an option for common scala development. This PR adds the installSbt option which uses sdkman to add sbt

hugo-vrijswijk avatar Apr 15 '24 16:04 hugo-vrijswijk

Hi @hugo-vrijswijk 👋

We appreciate your Feature contribution, however, as Scala is another language compiling for the JRE, we think that SBT should be a separate community-owned Feature. Also, usage seems to be less than a tenth of that of Java, hence, large amount of Java Feature consumers might not benefit from this addition.

However, we would appreciate if you could add this as a Feature in a separate repository of your control. The devcontainers/feature-starter repo has more guidance on self authoring them.

Once you've self authored and if you'd like to share it with the community, we'd recommend adding it to the index. It will make them visible in our supporting tools (like https://containers.dev/templates, Dev Containers Extension, GitHub Codespaces etc).

Feel free to ask any questions/queries along the way, feedbacks are welcome too!

samruddhikhandale avatar Apr 17 '24 18:04 samruddhikhandale

Thanks for the review! For now I've simply added this line to my devcontainer.json, which has the same effect:

"postCreateCommand": "bash -c \"source /usr/local/sdkman/bin/sdkman-init.sh && sdk install sbt\"",

hugo-vrijswijk avatar May 01 '24 11:05 hugo-vrijswijk