Skip to content

Commit 47cc7d8

Browse files
Kotlin: use 2.4.20 GA
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8b72dd3 commit 47cc7d8

12 files changed

Lines changed: 27 additions & 28 deletions

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ use_repo(
278278
"kotlin-compiler-2.3.0",
279279
"kotlin-compiler-2.3.20",
280280
"kotlin-compiler-2.4.0",
281-
"kotlin-compiler-2.4.20-RC3",
281+
"kotlin-compiler-2.4.20",
282282
"kotlin-compiler-embeddable-1.8.0",
283283
"kotlin-compiler-embeddable-1.9.0-Beta",
284284
"kotlin-compiler-embeddable-1.9.20-Beta",
@@ -291,7 +291,7 @@ use_repo(
291291
"kotlin-compiler-embeddable-2.3.0",
292292
"kotlin-compiler-embeddable-2.3.20",
293293
"kotlin-compiler-embeddable-2.4.0",
294-
"kotlin-compiler-embeddable-2.4.20-RC3",
294+
"kotlin-compiler-embeddable-2.4.20",
295295
"kotlin-stdlib-1.8.0",
296296
"kotlin-stdlib-1.9.0-Beta",
297297
"kotlin-stdlib-1.9.20-Beta",
@@ -304,7 +304,7 @@ use_repo(
304304
"kotlin-stdlib-2.3.0",
305305
"kotlin-stdlib-2.3.20",
306306
"kotlin-stdlib-2.4.0",
307-
"kotlin-stdlib-2.4.20-RC3",
307+
"kotlin-stdlib-2.4.20",
308308
)
309309

310310
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")

docs/codeql/reusables/supported-versions-compilers.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
Java,"Java 7 to 26 [5]_","javac (OpenJDK and Oracle JDK),
2222

2323
Eclipse compiler for Java (ECJ) [6]_",``.java``
24-
Kotlin,"Kotlin 1.8.0 to 2.4.20 [7]_","kotlinc",``.kt``
25-
JavaScript,ECMAScript 2022 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhtm``, ``.xhtml``, ``.vue``, ``.hbs``, ``.ejs``, ``.njk``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [8]_"
26-
Python [9]_,"2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14",Not applicable,``.py``
24+
Kotlin,"Kotlin 1.8.0 to 2.4.20","kotlinc",``.kt``
25+
JavaScript,ECMAScript 2022 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhtm``, ``.xhtml``, ``.vue``, ``.hbs``, ``.ejs``, ``.njk``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [7]_"
26+
Python [8]_,"2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14",Not applicable,``.py``
2727
Ruby,"up to 3.3",Not applicable,"``.rb``, ``.erb``, ``.gemspec``, ``Gemfile``"
28-
Rust [10]_,"Rust editions 2021 and 2024","Rust compiler","``.rs``, ``Cargo.toml``"
29-
Swift [11]_ [12]_,"Swift 5.4-6.3","Swift compiler","``.swift``"
30-
TypeScript [13]_,"2.6-7.0",Standard TypeScript compiler,"``.ts``, ``.tsx``, ``.mts``, ``.cts``"
28+
Rust [9]_,"Rust editions 2021 and 2024","Rust compiler","``.rs``, ``Cargo.toml``"
29+
Swift [10]_ [11]_,"Swift 5.4-6.3","Swift compiler","``.swift``"
30+
TypeScript [12]_,"2.6-7.0",Standard TypeScript compiler,"``.ts``, ``.tsx``, ``.mts``, ``.cts``"
3131

3232
.. container:: footnote-group
3333

@@ -37,10 +37,9 @@
3737
.. [4] Support for the Arm Compiler (armcc) is preliminary.
3838
.. [5] Builds that execute on Java 7 to 26 can be analyzed. The analysis understands standard language features in Java 8 to 26; "preview" and "incubator" features are not supported. Source code using Java language versions older than Java 8 are analyzed as Java 8 code.
3939
.. [6] ECJ is supported when the build invokes it via the Maven Compiler plugin or the Takari Lifecycle plugin.
40-
.. [7] Support for Kotlin 2.4.20 is preliminary.
41-
.. [8] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files.
42-
.. [9] The extractor requires Python 3 to run. To analyze Python 2.7 you should install both versions of Python.
43-
.. [10] Requires ``rustup`` and ``cargo`` to be installed. Features from nightly toolchains are not supported.
44-
.. [11] Support for the analysis of Swift requires macOS.
45-
.. [12] Embedded Swift is not supported.
46-
.. [13] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default.
40+
.. [7] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files.
41+
.. [8] The extractor requires Python 3 to run. To analyze Python 2.7 you should install both versions of Python.
42+
.. [9] Requires ``rustup`` and ``cargo`` to be installed. Features from nightly toolchains are not supported.
43+
.. [10] Support for the analysis of Swift requires macOS.
44+
.. [11] Embedded Swift is not supported.
45+
.. [12] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default.

java/kotlin-extractor/deps/kotlin-compiler-2.4.20-RC3.jar

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:038d406cc51d5fe3f6b5a16366a3f083b783bceb9e576e3103e695c3ce04e0fa
3+
size 60184475

java/kotlin-extractor/deps/kotlin-compiler-embeddable-2.4.20-RC3.jar

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:cf97161430683fb9af96dc6a7017ffae1fe8737b80d12eee11f2fe3e76f8ded8
3+
size 58593245

java/kotlin-extractor/deps/kotlin-stdlib-2.4.20-RC3.jar

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2226de463d309d4a5500a481320b3dea515a6981dcae1def531fbc158884e25f
3+
size 1853314

java/kotlin-extractor/dev/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import io
2828
import os
2929

30-
DEFAULT_VERSION = "2.4.20-RC3"
30+
DEFAULT_VERSION = "2.4.20"
3131

3232

3333
def options():

java/kotlin-extractor/src/main/kotlin/utils/versions/v_2_4_20-RC3/Kotlin2ComponentRegistrar.kt renamed to java/kotlin-extractor/src/main/kotlin/utils/versions/v_2_4_20/Kotlin2ComponentRegistrar.kt

File renamed without changes.

0 commit comments

Comments
 (0)