Commit Graph

10438 Commits

Author SHA1 Message Date
Andrey Yastrebov 7c103e257d KT-62380 Copy dummy dSYM directory for cocoapods integration 2024-02-09 09:22:32 +00:00
Yahor Berdnikau 1bae743524 [Gradle] Remove old platform plugins ids
We want to remove Gradle ids for old deprecated multiplatform platform
plugins and eventually clean up the code.

Exception for now is common platform plugin as it is still used
in compiler tests. Will be removed separately.

^KT-65187 Verification Pending
2024-02-09 09:05:25 +00:00
Alexander Udalov 3f034e8b67 Enable lightweight lambdas (aka invokedynamic) since 2.0
#KT-45375 Fixed
 #KT-58173 Open
2024-02-08 19:46:18 +00:00
Alexander.Likhachev 238d5504d2 [Gradle] Add tests for KT-62921 2024-02-08 19:11:26 +00:00
Alexander.Likhachev f507b19bd3 [Gradle] Move compiler version choosing logic into testHelpers.kt
Also, migrate from custom Kotlin versions to TestVersions.Kotlin.STABLE_RELEASE to avoid adding custom repositories
2024-02-08 19:11:26 +00:00
Alexander.Likhachev a904ded5f2 [Gradle] Replace useCompilerVersion by a Provider API property
Now this property acts as the single source of truth of BTA implementation version used in KGP. It allows both read and write.
^KT-62921 Fixed
2024-02-08 19:11:26 +00:00
Dmitrii Krasnov 18c08eb9ff [Gradle] Added test for addKotlinNativeBundleConfiguration 2024-02-08 17:20:37 +00:00
Dmitrii Krasnov af872b5692 [Gradle] Made kotlin native configuration init only once.
`maybeCreateResolvable` with `also` each time configures configuration.
But we cannot add new dependencies after the configuration is resolved.
Thus, it is more correct to add init block for a case when it is a newly created configuration.

^KTIJ-28742 Fixed
2024-02-08 17:20:37 +00:00
Yahor Berdnikau 55bbaec3f9 [Gradle] Migrate KlibBasedMppIT to new test DSL
^KT-65528 In Progress
2024-02-08 14:04:52 +00:00
Yahor Berdnikau 74c02a77fe [Gradle] Fix compiler arguments plugin does not configure defaults in extension
Shared source sets do not have related compilation tasks, so configuring
 them via an extension is the only possible way. Otherwise, a KGP
 checker will complain on incompatible configuration.

Also, should fix rare cases for kapt when the related KotlinJvmCompile
task is not created, so it does not propagate configured values to kapt
tasks.

^KT-65528 In Progress
2024-02-08 14:04:52 +00:00
Yahor Berdnikau 5686f55b5a [Gradle] Fix warnings in Kotlin2JsCompileConfig
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau 50ac596bf2 [Gradle] Fix warnings in DefaultKotlinJavaToolchain
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau 7913e12748 [Gradle] Fix warnings in AbstractKotlinCompileTool
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau 42a0190986 [Gradle] Fix warnings in KotlinNativeLink
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Brian Norman aa34282efb [PowerAssert] Integrate with build
^KT-63617 Fixed
2024-02-07 21:51:17 +00:00
Brian Norman c3a60b127e [PowerAssert] Reformat files 2024-02-07 21:51:17 +00:00
Brian Norman 2de0c8b23f [PowerAssert] Update file copyright 2024-02-07 21:51:17 +00:00
Brian Norman d8167fe82b [PowerAssert] Update base package 2024-02-07 21:51:17 +00:00
vladislav.grechko 54858c2118 [FIR] Fix naming of local classes when serializing metadata
^KT-63655: Fixed
^KT-63901: Fixed
^KT-63988: Fixed
2024-02-07 12:30:50 +00:00
Dmitrii Krasnov 6219806ab9 [Gradle Native] Made eager outputFile in CInteropProcess deprecated
^KT-63206 Fixed
2024-02-06 14:01:29 +00:00
Yahor Berdnikau a636f822d0 [Gradle] Fix warnings in NativeDistributionCommonizerTask
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 5ca953b7ff [Gradle] Remove unused import in KotlinNativePlatformDependencies.kt
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 44c421c2a3 [Gradle] Remove unused import in CInteropCommonizerCompositeMetadataJarBundling
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 9a94ac5d20 [Gradle] Fix warnings in AddIntransitiveMetadataDependency.kt
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau a58d0dc237 [Gradle] Fix warnings in KotlinNativeCompilation
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Yahor Berdnikau 5b18687935 [Gradle] Fix warnings in KotlinMetadataTargetConfigurator
^KT-56904 In Progress
2024-02-06 10:20:23 +00:00
Dmitrii Krasnov be6ab943f4 [Gradle] Fixed Mac and Windows integration tests
These tests were failed because of `dependencyManagement` in testDsl.

^KT-64903


Merge-request: KT-MR-14201
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2024-02-06 09:09:34 +00:00
Dmitrii Krasnov 06a3e9135c [Gradle Native] Made a k/n bundle as input for commonizeNativeDist task
Also, extracted moving konan bundle to konanHome into BuildService and wrapped moving k/n bundle to konan home with file lock.
And added an integration test for checking ^KT-65222 and ^KT-65347.

^KT-65450
^KT-65347 Fixed


Merge-request: KT-MR-14099
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2024-02-05 16:37:49 +00:00
Yahor Berdnikau ad5ee28d58 [Gradle] Use proper approach to local repository
^KT-65528 In Progress
2024-02-05 16:14:41 +00:00
Yahor Berdnikau eac48d065b [Gradle] Migrate HierarchicalStructureOptInMigrationArtifactContentMppIT to new test DSL
^KT-65528 In Progress
2024-02-05 16:14:41 +00:00
Yahor Berdnikau 81fded3c8b [Gradle] Migrate KotlinToolingMetadataIT to new test DSL
^KT-65528 In Progress
2024-02-05 16:14:40 +00:00
Yahor Berdnikau 6404cede07 [Gradle] Fix warnings in KotlinWebpack
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau ac8edc168d [Gradle] Fix warnings in KotlinJsTest
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau bbf0402a0f [Gradle] Remove unused import in NodeJsRootExtension
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Yahor Berdnikau 07ae48d1a3 [Gradle] Fix warnings in NodeJsExec
^KT-56904 In Progress
2024-02-05 10:27:18 +00:00
Dmitrii Krasnov 2873b11589 [Gradle] Muted k/n IT tests on Windows
connected with this problem ^KT-62761
2024-02-02 11:44:03 +00:00
Dmitrii Krasnov d4a4696baf [Gradle] Added dependencyManagement as to Integration Tests
Also fixed found problems with k/n toolchain feature

^KT-64903 Fixed
2024-02-02 11:44:03 +00:00
Artem Kobzar 4b1bbefe05 [Plugin JS Plain Objects] Remove wasm support because there is no possibility to eliminate inlined js object properties at this moment 2024-02-02 10:38:13 +00:00
Artem Kobzar 61f14374b9 [Gradle JS/Wasm] Force CLI arg usage in case of debug property for the Webpack DevServer 2024-02-01 11:00:19 +00:00
Alexander.Likhachev 5c4fbcb623 [Gradle] Fix warnings in DefaultCInteropSettings
^KT-56904 In Progress
2024-01-31 12:20:06 +00:00
Alexander.Likhachev 839723e4de [Gradle] Fix warnings in KotlinCocoapodsPlugin
^KT-56904 In Progress
2024-01-31 12:20:06 +00:00
Alexander.Likhachev 8833193349 [Gradle] Fix warnings in GenerateArtifactPodspecTask
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev de504c9e93 [Gradle] Fix warnings in KotlinCompilationNpmResolution
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev 4de2f7ef27 [Gradle] Fix warnings in KotlinRootNpmResolver
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev e159524c43 [Gradle] Fix warnings in forAllAndroidVariants extension
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Alexander.Likhachev 8fe65d2fee [Gradle] Fix warnings in ClassLoadersCache
This check is required due to the way of generic type declaration in the Guava code
^KT-56904 In Progress
2024-01-31 12:20:05 +00:00
Nataliya.Valtman 6000596673 Report FUS metrics only from FusMetrics.kt
#KT-65213 Fixed
2024-01-30 14:26:43 +00:00
Artem Kobzar 5b7478c0a6 [K/JS] Automatiacally add runtime dependency for JS Plain Objects plugin inside its Gradle plugin 2024-01-30 13:54:51 +00:00
strangepleasures effcdd5e71 KT-65330 Fix the DuckDuckGo benchmark 2024-01-30 13:23:21 +00:00
Yahor Berdnikau 09f2f36545 [Gradle] Fix warnings in KotlinJsIrTarget
^KT-56904 In Progress
2024-01-30 11:49:07 +00:00