Skip to content

Commit a06a058

Browse files
authored
Merge pull request #217 from PetrKralCZ/wrapping-dependencies_page_review
wrapping-dependencies page review
2 parents 806679e + bccb258 commit a06a058

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/wrapping-dependencies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ a particular software package by specifying the dependency only on the `<major>.
1919
(i.e., without including the "subminor" version, which usually corresponds to a bugfix release).
2020

2121
One particular example where this is employed is for `Java`. Since the `2018b` generation of
22-
the [Common toolchains][common_toolchains], we use a wrapper for `Java` (e.g., `Java/1.8`), rather than
23-
depending on a specific version (e.g., `Java/1.8.0_181`):
22+
the [Common toolchains][common_toolchains], we use a wrapper for `Java` (e.g., `Java/17`), rather than
23+
depending on a specific version (e.g., `Java/17.0.6`):
2424

2525
``` python
26-
# specify dependency on Java/1.8 "wrapper", rather than a specific Java version
27-
dependencies = [('Java', '1.8', '', SYSTEM)]
26+
# specify dependency on Java/17 "wrapper", rather than a specific Java version
27+
dependencies = [('Java', '17', '', SYSTEM)]
2828
```
2929

3030
This has a couple of advantages:

0 commit comments

Comments
 (0)