1068 Commits

Author SHA1 Message Date
Ilya Gorbunov 3b97bfb426 Extract kotlinLanguageVersion to gradle.properties
Read it when building docs in order to keep
docs version filter/language analyzer version in sync with
the language version used to compile libraries.
2023-03-07 17:55:23 +00:00
Yahor Berdnikau 8f07a9cc61 Cleanup unused Kotlin daemon dependencies 2023-03-02 16:24:54 +01:00
Dmitrii Gridin 60a8bb9a73 move kotlin-build-common to common artifact instead of fe10
^KTIJ-24819
2023-03-02 14:16:03 +00:00
Sebastian Sellmair d579ae7e79 [K/N] Bump kotlin-native version to "1.9.0-dev-2639"
^KT-56210 Verification Pending
2023-03-01 16:30:46 +00:00
Dmitrii Gridin 007af1c547 [DLC] use library tracker instead of out of block tracker
^KT-56613
2023-03-01 10:42:58 +00:00
Pavel Punegov 395e3e0f81 [K/N][build] Composite build with build.tools-conventions plugin
Adds convention plugin instead of sources inclusion
inside the buildSrc, effectively reducing the amount
of the code to be compiled in buildSrc.

Merge-request: KT-MR-8898
2023-02-27 10:48:26 +00:00
Svyatoslav Kuzmich 54a45c49f8 [Wasm] Add Wasm platform and K1 FE infrastructure 2023-02-24 01:05:23 +01:00
Svyatoslav Scherbina 873d9b565a Bump Kotlin/Native version to 1.9.0-dev-2063 2023-02-20 16:49:00 +00:00
Dmitriy Novozhilov 9ee60e4648 [Build] Exclude FIR codegen tests with PSI mode from aggregate test suite
Also add nightly configuration for them
2023-02-20 08:40:31 +00:00
Dmitriy Novozhilov 5305e987b7 [Build] Drop duplicated fir test task 2023-02-20 08:40:29 +00:00
Dmitriy Novozhilov 6d6c6f072b [Build] Set language version in project to 1.9 2023-02-18 13:26:53 +00:00
Dmitriy Novozhilov 1422654470 [Build] Update version of binary-compatibility-validator to 0.13.0
0.12.0 was incompatible with kotlinx.metadata:0.6.0
2023-02-18 13:26:53 +00:00
Ilya Gorbunov 3d05565b99 Remove tasks for zipping compiler testdata and stdlib test sources 2023-02-14 23:37:32 +00:00
Martin Bonnin a199fa7624 Bump Gradle version to 7.6
As well remove usages of forUseAtConfigurationTime - see also
https://github.com/JetBrains/kotlin/pull/5003
2023-02-08 16:27:26 +00:00
Svyatoslav Scherbina 2bafa0eb77 Bump Kotlin/Native version to 1.9.0-dev-1261 2023-02-07 21:05:12 +00:00
Nikita Bobko 770d6a4708 Bump KotlinAbiVersion for Enum.Entries
^KT-55808 Fixed
Review: https://jetbrains.team/p/kt/reviews/8401

If I don't bump `versions.kotlin-native` then locally
`kotlinx.coroutines` & `kotlinx.atomicfu` user projects compilation
fails with message:
```
w: skipping /home/bobko/jb/kotlinx-atomicfu/atomicfu/build/classes/kotlin/metadata/commonMain. Incompatible abi version. The current default is '1.7.0', found '1.8.0'. The library produced by 1.8.255 compiler
e: Could not find "/home/bobko/jb/kotlinx-atomicfu/atomicfu/build/classes/kotlin/metadata/commonMain" in [/home/bobko/jb/kotlinx-atomicfu, /home/bobko/.konan/klib, /home/bobko/.konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-dev-5812/klib/common, /home/bobko/.konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-dev-5812/klib/platform/linux_x64]
```

It worth noticing that we hardcoded "1.9.0-dev-693" on CI
(kotlin-teamcity-build/6693cb229c7485e07241fbc28322344774bcc3e0) to
workaround KTI-1107. 1.9.0-dev-693 also bumps KotlinAbiVersion
2023-02-01 15:13:34 +01:00
Sebastian Sellmair 06a2069d6b Bump Kotlin/Native version to 1.9.0-dev-886
^KT-56205 Verification Pending
2023-01-31 16:15:20 +00:00
Svyatoslav Kuzmich bebb9b1392 [Wasm] Move compiler tests to :wasm:wasm.tests module
They don't belong in K/JS test module.
2023-01-31 13:12:12 +00:00
Svyatoslav Scherbina fa352fd20e Bump Kotlin/Native version to 1.9.0-dev-764 2023-01-30 16:46:51 +00:00
Pavel Punegov c9aeadd31f [K/N] Remove old Compiler and Meta Version ^KT-55677 Fixed
* Replace it with KotlinCompilerVersion
* K/N version should be set now with `deployVersion`.
* Cleanup deprecated functions in older versions
 of the Gradle plugin
* Cleanup tests for older versions of compiler downloader

Merge-request: KT-MR-8436
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2023-01-30 13:10:08 +00:00
Bogdan Mukvich e988ac20f0 Update dokka 1.8.0-dev with OOM fixes 2023-01-26 14:13:19 +00:00
Ivan Kochurkin c103da98dd [FIR] Add missing dependencies to :compiler:fir:checkers:checkers.native 2023-01-24 15:27:12 +00:00
Nikolay Krasko 50c911f159 Restrict and document usage for special repositories
This also should reduce the amount of requests for seeking artifacts
across the repositories.
2023-01-21 16:38:47 +00:00
Alexander Likhachev d0c049cc00 [IC] Setup JUnit5 tests for :kotlin-build-common
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Bogdan Mukvich c34ae23465 Fix file permissions affecting build reproducibility
File permissions affect reproducibility
on different platforms and system settings (umask, etc.)
KTI-1094
2023-01-17 16:47:52 +00:00
Artem Daugel-Dauge 7914d3dd42 Bump Kotlin/Native version to 1.8.20-dev-5812 2023-01-17 15:56:05 +00:00
Dmitriy Novozhilov 5fedb2f72d [Parcelize] Use new DSL for generating declarations 2023-01-12 17:45:41 +00:00
Dmitriy Novozhilov 185e57e601 [FIR] Introduce builders API for generating declarations in compiler plugins
^KT-53096 Fixed
2023-01-12 17:45:39 +00:00
Svyatoslav Scherbina 14544c0180 Bump Kotlin/Native version to 1.8.20-dev-5321 2023-01-09 16:55:20 +00:00
Nikolay Lunyak f422a3a4e8 [FIR JS] Report WRONG_JS_QUALIFIER for the argument of JsQualifier 2023-01-09 08:57:08 +00:00
Abduqodiri Qurbonzoda 4af0f110c7 Fix 'Test: stdlib-js public kotlin api test' IDEA run configuration
Moving tests to another package made the IDEA run configuration obsolete.
To prevent this problem in the future a separate task (jsStdlibApiTest)
was introduced. The task is run in TC and will fail if the tests are missing.

Merge-request: KT-MR-8128
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-01-07 12:30:52 +00:00
Svyatoslav Scherbina 1c5eed1687 Bump Kotlin/Native version to 1.8.20-dev-4812 2022-12-27 17:40:01 +00:00
Vyacheslav Gerasimov 7348e34fd0 Build: Run only jsTests before mocha tests
Only js tests produce mocha tests to run
2022-12-22 18:45:40 +01:00
Vyacheslav Gerasimov fce26aa536 Build: Introduce incrementalCompilationTest root task 2022-12-22 14:37:28 +00:00
Ilya Chernikov 8c5739739c minor: drop main-kts tests on oldBE
it is not supported anymore
2022-12-21 14:34:22 +00:00
Ilya Chernikov deb2d6d024 K2 Scripting: enable K2 tests in some test projects 2022-12-21 14:34:21 +00:00
Vyacheslav Gerasimov 9ca24b6965 Build: Remove parcelize tests from compilerPluginTest root task 2022-12-18 13:51:23 +01:00
Vyacheslav Gerasimov bfbeb2763f Build: Run only js tests with jsCompilerTest root task 2022-12-18 13:51:23 +01:00
Vyacheslav Gerasimov 4ae12bf270 Build: Introduce jsFirCompilerTest & jsIrCompilerTest root tasks 2022-12-14 15:13:09 +01:00
Vyacheslav Gerasimov 4c4a92be44 Build: Introduce parcelizeTests root task 2022-12-14 15:13:08 +01:00
Svyatoslav Scherbina 92a6c29941 Bump Kotlin/Native version to 1.8.20-dev-4077 2022-12-13 18:01:26 +00:00
Alexander Udalov 60d96b7d15 Remove some leftover imports of unsafe cast functions 2022-12-06 19:44:56 +00:00
Alexander Udalov 0d8d91f803 Remove unsafe cast function usages from compiler plugins 2022-12-06 19:44:56 +00:00
Alexander Udalov fd9b19ee49 Remove unsafe cast function usages from IR modules 2022-12-06 19:44:55 +00:00
Alexander Udalov 1418423423 Remove unsafe cast function usages from JVM backend modules 2022-12-06 19:44:55 +00:00
Andrey Uskov c9e0100214 Remove experimental implementation of Kotlin Compiler Daemon
#KT-50846 Fixed
2022-12-05 16:02:03 +00:00
Dmitriy Novozhilov 700a117476 [Build] Add forgotten compiler plugins tests to aggregate build 2022-12-01 07:29:35 +00:00
Svyatoslav Scherbina 972a54788b Bump Kotlin/Native version to 1.8.20-dev-3138 2022-11-29 21:21:20 +00:00
Bogdan Mukvich 99b33747b9 Remove codebase tests from compiler tests gradle task
KTI-975
2022-11-29 18:53:15 +00:00
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00