diff options
author | etienne-chrp <66628513+etienne-chrp@users.noreply.github.com> | 2022-11-17 03:46:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 03:46:30 +0300 |
commit | be4f0498e4ad7948804d4be70093c1da8722d222 (patch) | |
tree | a50ac3ee2038a5b4130b7bdfcace59b4140efc5b /test/java/scenarios.json | |
parent | bff31788373499fdc903bad8f1b300d579c42d39 (diff) |
Add Gradle and Maven version parameters to Java (#263)
* Refactor java feature tests grep syntax
The grep with pipe syntax was creating problems with the check helper
Change them in favour of process substitution syntax
* Fix java feature tests about java version
Java 18 is not available anymore in SDKMAN
Some tests asserts were generating false positives
* Add Gradle and Maven version parameters to Java
Diffstat (limited to 'test/java/scenarios.json')
-rw-r--r-- | test/java/scenarios.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/java/scenarios.json b/test/java/scenarios.json index eec7ba5..c33a0a7 100644 --- a/test/java/scenarios.json +++ b/test/java/scenarios.json @@ -3,7 +3,7 @@ "image": "ubuntu:focal", "features": { "java": { - "version": "18", + "version": "11", "jdkDistro": "open" } } @@ -12,8 +12,8 @@ "image": "ubuntu:focal", "features": { "java": { - "version": "18", - "additionalVersions": "11,8" + "version": "11", + "additionalVersions": "17,8" } } }, @@ -40,5 +40,17 @@ "installMaven": true } } + }, + "install_gradle_and_maven_with_specific_version": { + "image": "ubuntu:focal", + "features": { + "java": { + "version": "latest", + "installGradle": "true", + "gradleVersion": "6.8.3", + "installMaven": "true", + "mavenVersion": "3.6.3" + } + } } } |