2018-10-05 14:13:18 +01:00
|
|
|
# sdk
|
|
|
|
|
|
|
|
> Tool for managing parallel versions of multiple Software Development Kits.
|
|
|
|
> Supports Java, Groovy, Scala, Kotlin, Gradle, Maven, Vert.x and many others.
|
2020-05-28 00:53:13 +01:00
|
|
|
> More information: <https://sdkman.io/usage>.
|
2018-10-05 14:13:18 +01:00
|
|
|
|
|
|
|
- Install a specific version of Gradle:
|
|
|
|
|
|
|
|
`sdk install {{gradle}} {{gradle_version}}`
|
|
|
|
|
|
|
|
- Switch to a specific version of Gradle:
|
|
|
|
|
|
|
|
`sdk use {{gradle}} {{gradle_version}}`
|
|
|
|
|
|
|
|
- Check current Gradle version:
|
|
|
|
|
|
|
|
`sdk current {{gradle}}`
|
|
|
|
|
|
|
|
- List all Software Development Kits available to install:
|
|
|
|
|
|
|
|
`sdk list`
|
|
|
|
|
2021-09-25 07:03:05 +01:00
|
|
|
- List all installed Software Development Kits:
|
|
|
|
|
|
|
|
`sdk current`
|
|
|
|
|
2018-10-05 14:13:18 +01:00
|
|
|
- Update Gradle to the latest version:
|
|
|
|
|
|
|
|
`sdk upgrade {{gradle}}`
|
|
|
|
|
|
|
|
- Uninstall a particular version of Gradle:
|
|
|
|
|
|
|
|
`sdk rm {{gradle}} {{gradle_version}}`
|