aboutsummaryrefslogblamecommitdiff
path: root/collection/java/feature.json
blob: 263c2c8544e19ec0af6b57137717247179859881 (plain) (tree)

























                                                                                 
{
  "id": "java",
  "name": "Java (via SDKMAN!)",
  "options": {
    "version": {
      "type": "string",
      "proposals": ["lts", "latest", "17", "11", "8"],
      "default": "lts",
      "description": "Select or enter a Java version to install"
    }
  },
  "buildArg": "_VSC_INSTALL_JAVA",
  "extensions": ["vscjava.vscode-java-pack"],
  "containerEnv": {
    "SDKMAN_DIR": "/usr/local/sdkman",
    "PATH": "${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/java/current/bin:${PATH}"
  },
  "settings": {
    "java.home": "/extension-java-home",
    "java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current"
  },
  "install": {
    "app": "",
    "file": "install.sh"
  }
}