14764 Commits

Author SHA1 Message Date
Dmitrii Krasnov 125a0e2f52 [Gradle] Made klib unpacked for native metadata compile task
^KT-63363 Fixed
2023-12-20 14:47:53 +00:00
Yahor Berdnikau 470ec8aef1 [Gradle] Fix KGP removes resource-producing task dependency
Previously, we tried to sync existing Java SourceSet resources into
KotlinSourceSet and then replace Java one from Kotlin. For such an
approach, we called 'files' on existing resources, but this does not
carry information about producing task dependency.

This fix goes a little further and just replaces default KotlinSourceSet
 'resources' SourceDirectorySet with a similar object from Java
 SourceSet, so any change to Java or Kotlin resources is reflected in
 both.

^KT-62490 Verification Pending
2023-12-20 14:23:04 +00:00
Nataliya.Valtman b19c496c44 Use unique buildId for file name to store FUS metrics
#KT-58768 In Progress
2023-12-20 13:46:50 +00:00
Ilya Goncharov 81efc8d7c7 [Gradle, JS] Replace outputFileProperty onto Binary's mainFile
^KT-63435 fixed
2023-12-20 12:36:28 +00:00
Leonid Startsev 22709bcb18 Add missing documentation to KmVersionRequirement.toString
so the documentation publishing to website will not fail.
2023-12-19 15:42:55 +00:00
Leonid Startsev 2405d644a3 Raise all deprecations in kotlinx-metadata-jvm to ERROR
as 0.8.0 had them as WARNINGs.

#KT-63157 Fixed
2023-12-19 15:39:14 +00:00
Yahor Berdnikau c9ad09f4dc [Gradle] Fix deprecated buildDir access in PublicPackageJsonTask
^KT-62527 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau 28405fceac [Gradle] Suppress unused task input
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau f0e6244498 [Gradle] Add suppression for internal deprecation
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau f783317dca [Gradle] Slightly update KDoc to fix warning
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau 7911cc640b [Gradle] Remove unused variable
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau 601f90917b [Gradle] Don't use reflection to get java compile task provider
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau 8fc847fe5c [Gradle] Mark setupDependenciesResolution function as private
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau 1b09ca4001 [Gradle] Don't use reflection to get packageTask provider
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau 5e2bf34ff7 [Gradle] Migrated from deprecated compileKotlinTaskProvider
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau cab734f57e [Gradle] Remove unnecessary cast
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau 1ead664f91 [Gradle] Update the usage of defaultSourceSetName
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau 3130775a3b [Gradle] Suppress usages of Android deprecated types in AndroidProjectHandler
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Marco Pennekamp 32fe29b8cc [Test] Add debug names to unnamed test disposables
- This helps to track down disposables which are never disposed, and
  reduces confusion when printing disposables in general (the names will
  now be meaningful, instead of endless lists of "newDisposable" and
  "TestDisposable").

^KT-64099
2023-12-19 11:12:23 +00:00
Anton Lakotka 63d615d220 [Gradle] Fix compilation warnings
^KT-62527 In Progress
2023-12-19 08:39:00 +00:00
Anton Lakotka 0264fc29b8 [Gradle] Fix defaultSourceSetName usages
^KT-62527 In Progress
2023-12-19 08:38:59 +00:00
Igor Chevdar e068333021 [gradle][tests] Fixed the smoke test on K/N incremental compilation 2023-12-18 19:19:03 +00:00
Anton Lakotka 1d3f871d7a [Gradle] Remove unnecessary useK2 gradle property
^KT-64379 Verification Pending
2023-12-18 19:09:41 +00:00
Artem Kobzar 2530cba82a [K/JS] Compile Kotlin coroutines as JS generator ^KT-63038 Fixed 2023-12-18 17:13:07 +00:00
Dmitriy Dolovov 48072c822b [Gradle][MPP] Ensure there are no KLIBs discriminated by duplicated unique_name
^KT-63573
2023-12-18 13:03:40 +00:00
Dmitriy Dolovov 5ffbaa1621 [Gradle][MPP] Rename already existing tests for KLIB resolver 2023-12-18 13:03:40 +00:00
Yahor Berdnikau 71a0dacf81 [Gradle] Move from constructor KotlinNativeLink task configuration
This should fix ConcurrentModificationException on getting task names
while loading import models in parallel.

^KT-63554 Fixed
2023-12-18 11:29:28 +00:00
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