Commit Graph

14287 Commits

Author SHA1 Message Date
Yahor Berdnikau a1d13f54cb [Gradle] Fix deprecated buildDir usage in KotlinNativeXCFramework.kt
^KT-62527 In Progress
2023-12-18 10:04:17 +00:00
Yahor Berdnikau 5558a87c81 [Gradle] Fix deprecated buildDir usage in KotlinNativeLibrary.kt
^KT-62527 In Progress
2023-12-18 10:04:17 +00:00
Yahor Berdnikau 84dbc7fbcf [Gradle] Fix deprecated buildDir usage in KotlinNativeFramework.kt
^KT-62527 In Progress
2023-12-18 10:04:17 +00:00
Yahor Berdnikau 5769b743a7 [Gradle] Fix deprecated buildDir usage in KotlinCocoapodsPlugin
^KT-62527 In Progress
2023-12-18 10:04:17 +00:00
Igor Chevdar d0acaa4024 [gradle] Use more fine grained directory for K/N incremental compilation
Otherwise, two or more link tasks being executed in parallel will use the same directory
for IC caches which might lead to races during compilation

 #KT-63471 Fixed
2023-12-18 09:56:09 +00:00
Alexander.Likhachev aa20bcd522 [Gradle] Fix unused parameter warnings related to the legacy JS target
KT-64275
2023-12-16 15:08:38 +00:00
Alexander.Likhachev 1772620d16 [Gradle] Remove redundant suppression in KotlinJsProjectExtension 2023-12-16 15:08:37 +00:00
Alexander.Likhachev 96717c644d [Gradle] Suppress deprecation warning for KotlinCompilationToRunnableFiles usage
The actual usage was already under suppression; however, we don't have support for suppressing import statements (KT-30155)
We need to handle these suppressions within KT-58227 and KT-64273
2023-12-16 15:08:37 +00:00
Andrey Yastrebov 0c5a925b6e KT-62745: update CocoaPodsPodspecIT tests 2023-12-15 15:38:51 +00:00
Andrey Yastrebov f4097db0c2 KT-62745: add missing BUILT_PRODUCTS_DIR test 2023-12-15 15:38:51 +00:00
Andrey Yastrebov 259a2f5ec0 KT-62745: Set 'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO' in CocoaPods integration 2023-12-15 15:38:51 +00:00
Andrey Yastrebov 1eb6ae4d21 KT-62745: Add shouldFailEmbedAndSignAppleFrameworkForXcodeWithUserScriptSandboxingEnabled test 2023-12-15 15:38:51 +00:00
Andrey Yastrebov 5982543867 KT-62745: Add sandboxing error message to embedAndSignAppleFrameworkForXcode task 2023-12-15 15:38:51 +00:00
Nataliya.Valtman ed144a106d Add test for case when BuildFusService can't be injected
#KT-63990
2023-12-14 14:18:59 +00:00
strangepleasures 7b841d90e6 [KAPT] KT-64303 Dispose resources allocated by Standalone Analysis API; re-enable Kapt4IT
Merge-request: KT-MR-13510
Merged-by: Pavel Mikhailovskii <Pavel.Mikhailovskii@jetbrains.com>
2023-12-14 14:10:14 +00:00
Bogdan Mukvich c66370bf93 Add gradle checksum to kotlin-stdlib-docs-legacy
^KTI-1456
2023-12-14 13:54:52 +00:00
Artem Kobzar 1473b4bb41 [K/Wasm] Introduce JsBigInt type 2023-12-13 18:44:57 +00:00
Ilya Gorbunov 5ce2a2cbee Use strongly typed task GenerateProjectStructureMetadata to tweak kpsm.json 2023-12-13 15:40:25 +00:00
Ilya Gorbunov e0bc0b81c6 [kotlin-test] Drop subprojects unneeded anymore KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov fb74c18235 Fix maven plugin IT install and kotlin-bom dependencies after KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov b0bee09948 Change Gradle test expectations after KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov c40de28775 Replace kotlin-test-js project dependencies in the project
KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov d2aae67e03 Replace kotlin-test project dependencies in the project
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test

KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov f07bf70aa7 Switch stdlib tests to KMP kotlin-test KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 7a4335b087 [kotlin-test] Enable explicit API mode KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 6c46d11d0a [kotlin-test] Post-process capabilities in leaf framework artifacts' .module files KT-61969
Gradle copies capabilities from the variants of the root artifacts
to the variants of leaf artifacts which leads to capability conflict
when both root and leaf artifacts are present in a configuration during
variant-based dependency resolution
2023-12-13 15:40:25 +00:00
Ilya Gorbunov b91e4e24c4 [kotlin-test] Custom publishing layout KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov ffe54d3fc4 [kotlin-test] Alignment constraints for legacy artifacts KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 446cd1eec9 [kotlin-test] kpsm.json patching KT-61969
Adds source set relationships for additional variants
and also slightly stretches common source sets included into jvm variant
2023-12-13 15:40:25 +00:00
Ilya Gorbunov 5c4f0a70e0 [kotlin-test] Unit tests for additional compilations KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 2db2b18910 [kotlin-test] Additional framework jars and outgoing configurations KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 008a961913 [kotlin-test] Add module-info compilations KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 1d1645fd2d [kotlin-test] Setup KMP project for kotlin-test, targets and source sets KT-61969 2023-12-13 15:40:25 +00:00
Ilya Gorbunov f3240757ed Extract custom publishing dsl to buildsrc-compat
It will be used also in kotlin-test KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov 6d62119659 Introduce expects in common wasm sources actualized in wasmJs and wasmWasi 2023-12-13 15:40:25 +00:00
Ilya Gorbunov 943c11d239 [Gradle] Support multiple variants of a module resolved when determining visible common source sets
With capabilities in variants it is possible to depend on multiple variants of
an artifact in the same target compilation. These variants can implement
different common source sets which all should be visible from that target.

Instead of intersecting single variant source sets visible from different
targets, first union source sets from all target variant dependencies
and only then intersect these union results from different targets.
2023-12-13 15:40:25 +00:00
Yahor Berdnikau 63e7749cfe [Gradle] Update AGP versions 2023-12-13 09:08:05 +00:00
Yahor Berdnikau da7ceb162b [Gradle] Cleanup max Gradle versions in the tests
As we are running now by default with Gradle 8.2 release our IT tests -
specifying this version explicitly does not make sense.
2023-12-13 09:08:05 +00:00
Ilya Goncharov 1d692ce6d1 [Gradle, JS] Fix devServer usage in KotlinWebpackConfig
^KT-64260 fixed
2023-12-12 19:24:13 +00:00
Leonid Startsev af23706a9a Do not allow writing metadata versions that are too high
because a format may be incorrect for future compilers

#KT-64230 Fixed
2023-12-12 18:16:56 +00:00
Yahor Berdnikau 4a7f12a8eb [Gradle] Fix deprecation warnings in AndroidBaseSourceSetName
^KT-56904 In Progress
2023-12-12 16:58:58 +00:00
Artem Kobzar 0b1c4b836a [K/JS] Fix file extension inside the JS KGP to run tests with ES modules ^KT-63719 Fixed 2023-12-12 14:52:26 +00:00
Sebastian Sellmair 4c7ad7eeb5 [Gradle] Add IdeMultiplatformImportAction API
This API can be used to schedule actions/setup code that is only
relevant for IDE sync.

^KT-56440 Verification Pending
2023-12-12 14:52:04 +00:00
Ilya Goncharov 2932f49f65 [JS] Use npx instead of yarn in kotlin-test-js-runner 2023-12-12 12:01:04 +00:00
Bogdan Mukvich b7d56dea44 Point ArtifactsTests to custom maven repo dir to avoid stale artifacts
^KTI-1345
2023-12-12 10:28:48 +00:00
Leonid Startsev 9933423a0b Add KmVersionRequirementKind.UNKNOWN
for cases when the version requirement cannot be read correctly (missing from the table).

It usually happens when we read the inner class' old metadata, which stored everything
in the outer class' table.

Fixes #KT-60870


Merge-request: KT-MR-13337
Merged-by: Leonid Startsev <leonid.startsev@jetbrains.com>
2023-12-12 08:47:41 +00:00
Dmitrii Krasnov 0b31d70ce9 [Gradle IT] Added Integration Test for checking native ic args
#KT-63742
2023-12-11 18:09:29 +00:00
Yahor Berdnikau 400137e80d [Gradle] Fix usaged of deprecated buildDir in Kapt3KotlinGradleSubplugin.kt
^KT-62527 In Progress
2023-12-11 11:32:02 +00:00
Yahor Berdnikau 366d097c92 [Gradle] Suppress internal deprecation in Kapt3KotlinGradleSubplugin.kt
^KT-56904 In Progress
2023-12-11 11:32:02 +00:00
Yahor Berdnikau 78edc45ded [Gradle] Remove unused method in Kapt3KotlinGradleSubplugin.kt
^KT-56904 In Progress
2023-12-11 11:32:01 +00:00