Plugin to manage Scala CLI, a command-line tool to interact with the Scala language. It lets you compile, run, test, and package your Scala code (and more!)
For details on asdf plugin development, see the asdf documentation on how to create a plugin.
To download and build scala-cli, the plugin only depends on curl. The dependencies are taken care of by the scala-cli standalone script.
Add the plugin by providing this repository when adding it to ASDF:
asdf plugin add scala-cli https://github.com/Colin-TUE/asdf-scala-cliTo update the plugin, run the following command:
asdf plugin update scala-cliThen it might be needed to reinstall the plugin.
This assume that the plugin is part of your .tool-versions.
asdf uninstall scala-cli
asdf installNow install the scala-cli tool provided by the plugin:
asdf install scala-cli latest