Zalim Bashorov
c915cc54c7
[Wasm] Use Node.js with "canary" v8 in gradle mpp tests
...
It's required due to switching to the latest wasm opcodes.
#KT-59720
2023-09-19 09:23:26 +00:00
Zalim Bashorov
86e854a980
Revert "[Wasm] Don't use the new br_on_cast* instructions since they are not supported in Node.js yet"
...
This reverts commit 2d728727
#KT-60828 Fixed
2023-09-19 09:23:26 +00:00
Zalim Bashorov
44f9199f66
[Wasm] Update Binaryen to 116
...
#KT-59720
2023-09-19 09:23:26 +00:00
Zalim Bashorov
874ca6a1af
[Wasm] Update v8 to 11.9.85
...
#KT-59720
2023-09-19 09:23:26 +00:00
Anton Lakotka
64f0e1e742
[Gradle] registerProjectStructureMetadata in afterEvaluate
...
To prevent issues with Configuration Cache and Precompiled Script Plugins
^KT-59042 Verification Pending
2023-09-19 08:48:54 +00:00
Anton Lakotka
37d797577b
[Gradle] Test MPP with Configuration Cache and Precompiled Script Plugins
...
^KT-59042 Verification Pending
2023-09-19 08:48:54 +00:00
Yahor Berdnikau
ac18f6e16e
[Gradle] Fix common sources are not included for kaptGenerateStubs task
...
^KT-61622 Fixed
2023-09-18 18:52:28 +00:00
Yahor Berdnikau
005e3c0939
[Gradle] Update test verifying MPP/Jvm project is working with Kapt
...
We have such test, but it was using long deprecated platform plugins.
^KT-61622 In Progress
2023-09-18 18:52:28 +00:00
Ilya Goncharov
6a514c3209
[Gradle, Wasm] Binaryen to wasm targets
...
^KT-62024 fixed
^KT-62025 fixed
2023-09-18 14:42:20 +00:00
Ilya Goncharov
afbfc9ce8e
[Gradle, wasm] add checker about changed wasm source sets
...
^KT-61950 fixed
2023-09-15 20:56:31 +00:00
strangepleasures
c31a3869c6
[KAPT] Fix package names org.jetbrains.kotlin.base.kapt3 -> org.jetbrains.kotlin.kapt3.base
2023-09-15 19:36:30 +00:00
Evgenii Mazhukin
7d762c9754
[KGP] Drop link to removed documentation
2023-09-15 18:26:42 +00:00
Nikolay Krasko
f56167726d
Register a new deploy server in maven instead of forgotten one
...
KTI-1377
2023-09-15 13:50:11 +00:00
Yahor Berdnikau
d5f4cd72b7
[Gradle] Don't sync freeCompilerArgs second time for the Native link task
...
Since CompilerOptions and LanguageSettings are synchronized between
each other, we don't need this additional sync that actually duplicates
arguments.
^KT-61700 Fixed
2023-09-15 13:44:19 +00:00
strangepleasures
8fb7ea1126
[KAPT4] KT-61333 Support REPORT_OUTPUT_FILES
...
Add extra logging
2023-09-15 11:05:05 +00:00
Artem Kobzar
878452bd2b
[K/JS] Implement file merging for clashed file during per-file compilation
2023-09-14 13:14:15 +00:00
Ilya Muradyan
337054ba92
Scripting: Remove deprecated MavenRepositoryCoordinates class
2023-09-14 12:14:32 +00:00
Ilya Muradyan
f1f12bc192
Scripting: Reuse AetherSession if repositories didn't change
...
Repository system will be not reconstructed on subsequent calls
2023-09-14 12:14:32 +00:00
Ilya Muradyan
b1347d7616
Scripting: Unify artifacts resolution for partial and non-partial cases
2023-09-14 12:14:32 +00:00
Ilya Muradyan
841cc8eb43
Scripting, KT-61727: Make it possible to resolve multiple artifacts at once
...
For MavenDependenciesResolver it improves performance drastically
depending on how strong transitive dependencies of the roots interfere
^KT-61727 Fixed
2023-09-14 12:14:32 +00:00
Vladimir Sukharev
c4201101ac
[K/N] K2/MPP: Move stdlib to the head of dependency list.
...
^KT-61645 Fixed
Merge-request: KT-MR-12079
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-09-13 13:56:21 +00:00
Alexander.Likhachev
fbeed67931
[Gradle] Mark KotlinTopLevelExtension.useCompilerVersion as experimental
...
#KT-61895 Fixed
2023-09-13 13:32:33 +00:00
Konstantin Tskhovrebov
b672ba8eaf
KTIJ-25563: Add upToDateWhen condition to CInterop task outputs
2023-09-13 12:18:06 +00:00
Ivan Kochurkin
8e0c2af176
[FIR] Fix overload resolution ambiguity between expect and non-expect in native
...
^KT-61778 Fixed
2023-09-13 11:44:22 +00:00
Alexander Udalov
909f32ed54
Build: pass -Xexpect-actual-classes to some libraries compile tasks
...
To suppress the warning introduced in KT-61573.
2023-09-12 11:24:29 +00:00
Abduqodiri Qurbonzoda
ba374bb45c
Optimize hex formatting and parsing implementation #KT-58218
...
Merge-request: KT-MR-11702
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-09-08 22:40:56 +00:00
Alexander.Likhachev
64fb36deef
[Gradle] Move konan.data.dir for tests into <repo>/build and normalize the path
...
This should solve the problem on Windows CI with too long paths in Kotlin/Native integration tests
2023-09-08 13:04:29 +00:00
Alexander.Likhachev
c33f7a4161
[Build] Disable ScriptingIT on Windows CI using @OsCondition
...
`@DisabledOnOs` doesn't propagate its effect to the inheritors
2023-09-08 13:04:29 +00:00
Nataliya.Valtman
c2ee9bb1a4
Dont add languageVersion for KotlinNativeLink tasks
...
#KT-61401: Fixed
2023-09-07 12:34:22 +00:00
Alexander.Likhachev
6eaccc997f
[Build] Fix the typo junit jupyter -> jupiter
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
7f8d9df76d
[Build] Use the latest JUnit engine for kotlin-test-junit5 tests
...
This change aligns with the intention in 634279621d , however the "latest" version wasn't synced with other "latest" versions within the repo
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
6f96be0b76
[Build] Get rid of the testApiJUnit5 method
...
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
53fde520d5
[Build] Add jUnit dependencies in testApiJUnit5 to the implementation configuration
...
Adding these dependencies to the `api` configuration pollutes classpath for each dependant modules even if it doesn't need them. Instead, the dependencies should be declared more granularly if they're required
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
0ecbb64c64
[Build] Remove testApiJUnit5 parameters
...
Instead of declaring additional dependencies inside the method, declare them directly
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
357d12fc8e
[Build] Move JUnit dependencies into the version catalog
...
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00
Timofey Solonin
14bed668d4
Revert "[MPP] Emit a warning when kotlin-test testing framework couldn't be inferred"
...
This reverts commit 256d9da24c .
Revert "[MPP] Only add test framework dependency once per configuration"
This reverts commit 65649673a7 .
^KT-56828
2023-09-05 18:55:15 +00:00
Alexander Shabalin
9ab6a5ff56
[K/N] Migrate all stdlib_external tests to new testing infra ^KT-61259
...
- Move backend.native/tests/stdlib_external to runtime/test This mirrors
tests location (in relation to sources) on other backends.
- Remove all backend.native/tests tasks using stdlib_external.
Additionally remove now unused KonanGTest.
- Include complete native-wasm/test and runtime/test in
native/native.test
- In runtime/test/numbers/MathTest.kt leave only native-specific part.
2023-09-04 18:51:10 +00:00
Yahor Berdnikau
f866883871
[Gradle] Also configure JsIrLink tasks with target compiler options
...
This should synchronize options between JS compile and link tasks
configured with target compiler options DSL.
^KT-61253 Fixed
2023-09-04 14:29:00 +00:00
Yahor Berdnikau
38e7bf6afa
[Gradle] Add compilerOptions() methods to KotlinCompilation implementations
...
This should help to avoid user mistakes in configuring options when they
are trying to use KotlinCompilation.
^KT-61636 Fixed
2023-09-04 14:29:00 +00:00
Yahor Berdnikau
55a0c86508
[Gradle] Fix JS module name and freeCompilerArgs config is not propagated to the task
...
Task was not using configured module name correctly.
In case of using "browser()" DSL freeCompilerArgs could be overwritten.
^KT-61194 Fixed
2023-09-04 14:28:59 +00:00
Yahor Berdnikau
4c60dd3f38
[Gradle] Fix JVM and Android targets moduleName change is not propagated in the multiplatform project
...
Missed existing logic where 'moduleName' was specifically configured
from 'moduleName' task input for MPP projects.
^KT-61303 Fixed
2023-09-04 14:28:59 +00:00
Nikita Bobko
01fc708a0f
Mark expect/actual classifiers as experimental
...
^KT-61573 Fixed
Review: https://jetbrains.team/p/kt/reviews/11969/timeline
Tests:
- MultiPlatformIntegrationTestGenerated
- CliTestGenerated
- MultiPlatformIntegrationTestGenerated
- DiagnosticTestGenerated.Multiplatform
- FirLightTreeOldFrontendDiagnosticsTestGenerated
Also add -Xexpect-actual-classes flag to all necessary ./libraries/* modules
Otherwise compilation of those modules failes because of `-Werror`
2023-09-04 12:21:37 +00:00
Ilya Gorbunov
8ae21c0e1b
[Generator] Do not omit public visibility of methods in wasm
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
1c149925b7
[Generator] Always put expression body on a new line
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
68a9b9c312
[Generator] Reference generator class in generated code files
2023-09-04 11:32:39 +00:00
Ilya Gorbunov
60bbd08569
[Generator] Rename additionalDoc, put its content before annotations
2023-09-04 11:32:39 +00:00
Alexander Udalov
761221904c
K2 kapt: add kapt.use.k2 Gradle property
...
... and `-Kapt-use-k2` CLI flag to enable K2 kapt.
#KT-61114 Fixed
2023-09-01 22:51:19 +00:00
Dmitrii Krasnov
e1c770eecb
Remove checking userHomeDir/.konan/dependencie in NativeDownloadAndPlatformLibsIT. In teamcity someone creates this dir.
2023-09-01 16:04:59 +00:00
Nataliya.Valtman
f46245621f
Log created error file in debug log
...
KT-59451 Fixed
2023-09-01 14:26:09 +00:00
Ilya Goncharov
0f40b2adce
[Gradle, wasm] Hack for mixed mode with js, wasmJs and wasmWasi
...
^KT-61623 fixed
2023-09-01 11:53:04 +00:00