@@ -13,16 +13,20 @@ bazel build @codeql//java/kotlin-extractor
13
13
```
14
14
will build a default variant:
15
15
* standalone, unless `CODEQL_KOTLIN_SINGLE_VERSION_EMBEDDABLE` is set to true, in which case it will go for embeddable
16
- * the version will be taken as the last supported version less than the version of the currently installed `kotlinc`
17
- * if `CODEQL_KOTLIN_SINGLE_VERSION` is set, that will be used instead
18
- * if `kotlinc` is not installed, `1.9.20-Beta` will be used
16
+ * the version will be taken as the last supported version less than the version of the currently available `kotlinc`,
17
+ or `CODEQL_KOTLIN_SINGLE_VERSION` if set.
19
18
20
- If `kotlinc` is updated, bazel won't be aware of it and will therefore keep the same default version. Possible workarounds for that:
19
+ If building from the `codeql` repository, `@codeql` can be skipped.
20
+
21
+ It is recommended to use the `kotlinc` wrapper in `dev` (which is also available in `tools` from `semmle-code`), which
22
+ takes care about providing a sensible default version and keep the version of the default target up to date.
23
+
24
+ If the wrapper is not used and `kotlinc` is updated, bazel won't be aware of it and will therefore keep the same default
25
+ version. Possible workarounds for that:
26
+ * switch to using the `kotlinc` wrapper in `dev` as mentioned above
21
27
* `bazel clean`
22
28
* `bazel fetch --force @codeql//java/kotlin-extractor`
23
29
* `bazel fetch --force @codeql_kotlin_defaults//:all` (only from `codeql`)
24
-
25
- If building from the `codeql` repository, `@codeql` can be skipped.
26
30
"""
27
31
28
32
# This file is used in the `@codeql_kotlin_embeddable` external repo, which means we need to
0 commit comments