diff options
author | Tobias Gesellchen <tobias@gesellix.de> | 2023-01-19 00:24:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 00:24:10 +0300 |
commit | d78a1534925e7e424355d214c683e946cbb97d05 (patch) | |
tree | c0de2f137a1d25b468093f488245ffd5bffd84dd /src/java/devcontainer-feature.json | |
parent | f7314671e1654cd47263a09b134ddd0286f9eccc (diff) |
Java: add Apache Ant (#409)
* Java: add Apache Ant
* Update src/java/devcontainer-feature.json
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
* revert the changes in README.md
* Add tests for Java/Ant
* Fix Java feature version
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Diffstat (limited to 'src/java/devcontainer-feature.json')
-rw-r--r-- | src/java/devcontainer-feature.json | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/java/devcontainer-feature.json b/src/java/devcontainer-feature.json index 113c75d..f55276a 100644 --- a/src/java/devcontainer-feature.json +++ b/src/java/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "java", - "version": "1.1.1", + "version": "1.2.0", "name": "Java (via SDKMAN!)", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/java", "description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.", @@ -59,6 +59,21 @@ ], "default": "latest", "description": "Select or enter a Maven version" + }, + "installAnt": { + "type": "boolean", + "default": false, + "description": "Install Ant, a software tool for automating software build processes" + }, + "antVersion": { + "type": "string", + "proposals": [ + "latest", + "1.10.12", + "1.9.15" + ], + "default": "latest", + "description": "Select or enter an Ant version" } }, "customizations": { @@ -74,7 +89,7 @@ "containerEnv": { "SDKMAN_DIR": "/usr/local/sdkman", "JAVA_HOME": "/usr/local/sdkman/candidates/java/current", - "PATH": "/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:${PATH}" + "PATH": "/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:${PATH}" }, "installsAfter": [ "ghcr.io/devcontainers/features/common-utils" |