- Remove `sdk offline` command and all associated code - Delete offline_mode.feature entirely - Replace SDKMAN_OFFLINE_MODE env var with sdkman_healthcheck_enable config flag - When sdkman_healthcheck_enable=false, skip the startup healthcheck entirely (SDKMAN_AVAILABLE stays true; commands proceed and fail naturally if offline) - Update INTERNET NOT REACHABLE warning to reference new config option - Rename __sdkman_display_offline_warning -> __sdkman_display_network_warning - Remove withOfflineMode() from SdkmanBashEnvBuilder and test step definitions - Update service_unavailable.feature: drop offline-list fallback scenarios, update error message strings to match new wording - Remove offline from bash completion script - Fixes #1484 (sdk offline was triggering network traffic before mode engaged) - Closes #1517
SDKMAN! CLI
The Software Development Kit Manager Command Line Interface
SDKMAN is a tool for managing parallel Versions of multiple Software Development Kits on any Unix-based system. It provides a convenient command-line interface for installing, switching, removing, and listing Candidates.
See documentation on the SDKMAN! website.
NOTICE
We are rewriting all the commands for SDKMAN! in Rust under a new project that supplements this one. Only bug fixes to supporting code will be accepted in this project. As a result, no further enhancements will be accepted on the commands in this project, and the commands here will be phased out in due course. This project will eventually form a lightweight wrapper/launcher for the replacement Rust commands.
Installation
Open your favourite terminal and enter the following:
$ curl -s https://get.sdkman.io | bash
If the environment needs tweaking for SDKMAN to be installed, the installer will prompt you accordingly and ask you to restart.
Running the Cucumber Features
All SDKMAN's BDD tests describing the CLI behaviour are written in Cucumber and can be found under src/test/resources/features. These can be run with Gradle by running the following command:
$ ./gradlew test
To perform development, you will need to have a JDK 11 installed which can be obtained by running the following after installing SDKMAN:
$ sdk env install
Hosting
We're proud to host our backend services on DigitalOcean as a sponsored partner.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers! [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]