Commit Graph

7988 Commits

Author SHA1 Message Date
Sebastian Sellmair 4c62b3b46b [Gradle][Native] Implement "kt-55071-compileSharedNative-withDefaultParameters" IT
^KT-55071 Verification Pending
2022-11-24 14:42:10 +00:00
Sebastian Sellmair 752ff04245 [Gradle][Native] Setup refinesPaths as expectedBy module dependencies
Previously, dependsOn dependencies were just passed as friend modules
to shared native compilations.

^KT-55071 Verification Pending
2022-11-24 14:42:10 +00:00
nataliya.valtman ff340505ec Add git branch to http statistic 2022-11-24 08:03:13 +00:00
Pavel Kirpichenkov cc93f3a87c [MPP] Implement TCS dependency resolver for non-hierarchical deps
Resolves legacy common metadata dependencies and special common
libraries like kotlin-stdlib-common.

KT-54974
2022-11-23 20:56:57 +00:00
Ilya Goncharov 358943c7cb [Gradle, JS] Fix warning in case when js target declared twice
^KT-55099 fixed
2022-11-23 12:48:35 +00:00
Dmitriy Novozhilov 1b27d60307 [FIR] Support @OnlyInputTypes annotation
^KT-54807 Fixed
2022-11-22 15:46:17 +00:00
Pavel Kirpichenkov ad6582160b Add test for KT-55019 2022-11-22 10:56:25 +00:00
Andrei.Tyrin dc8ac50ddf [Gradle][MPP] Flag for suppressing warning for Android Style folders
^KT-54464 Verification Pending
2022-11-22 09:51:53 +00:00
Sebastian Sellmair ace17c71e7 [Gradle] Implement IdeNativePlatformDependencyResolver.test - non native source sets
KT-54974
2022-11-22 09:48:31 +00:00
Sebastian Sellmair 4bcd8b4b66 [Gradle] Implement IdeNativePlatformDependencyResolver
KT-54974
2022-11-22 09:48:31 +00:00
Aleksei.Cherepanov de5fd767d4 Suppress warning for mvn+kapt+jdk9
Suppress the warning about lack of tools.jar, as this jar does not present in JDK9+

#KT-47110 Fixed
2022-11-21 15:22:27 +00:00
Sebastian Sellmair f02fd2e04e [Gradle] Implement smoke test for external android target prototype resolving sdk
KT-54981
2022-11-21 14:11:27 +00:00
Sebastian Sellmair 83af85706d [Gradle] ExternalKotlinTarget Api: Implement 'configureIdeImport' API
^KT-55010 Verification Pending
2022-11-21 14:11:27 +00:00
Yahor Berdnikau 19f4e39ee7 Fix toolchain test fails jvm target validation
Happens after changes for KT-54933 was merged earlier than for KT-55004.
2022-11-21 14:59:01 +01:00
Sebastian Sellmair 17c20bff92 [Gradle] Implement integration test for KT-54981
^KT-54981 Verification Pending
2022-11-21 10:14:04 +00:00
Sebastian Sellmair 55ef9a6bad [Gradle] Only add 'directly included' source sets to metadata compile tasks
Contrary to platform compilations, metadata based compile tasks
are expected to only compile the directly associated source sets w/o
their dependsOn closure. DependsOn source sets will be represented
as .klib binary dependencies instead.

^KT-54981 Verification Pending
2022-11-21 10:14:04 +00:00
Yahor Berdnikau f6dd302dc7 Fix child default toolchain configuration overwrites parent one
Caused by configure actions ordering - parent are applied first.

^KT-55004 Fixed
2022-11-21 09:53:19 +00:00
Sebastian Sellmair bc531610f7 [Gradle] ExternalKotlinTarget Api: Add initial APIs to configure publications
KT-54981
2022-11-21 07:33:17 +00:00
Sebastian Sellmair c33b172988 [Gradle] Introduce InternalKotlinTarget
KT-54981
2022-11-21 07:33:17 +00:00
Sebastian Sellmair e5398e6be7 [Gradle][Minor] Move KotlinTargetComponent into separate source file
KT-54981
2022-11-21 07:33:17 +00:00
Sebastian Sellmair 7368752c24 [Gradle] ExternalKotlinTargetApi: Configure apiElements and runtimeElements configurations
KT-54981
2022-11-21 07:33:16 +00:00
Andrei.Tyrin 0df7e689d9 [Gradle][MPP] MPP/AGP compatibility: Bump maxSupportedVersion to 7.4
^KT-54982 Verification Pending
2022-11-18 14:57:36 +00:00
Andrei.Tyrin cc0bd8e57a [MPP] Prettify the message about incompatible AGP and KGP versions
add protocol for youtrack link, quote flag

^KT-53338 Fixed
2022-11-18 14:57:36 +00:00
Yahor Berdnikau e07e92c945 Raise 'kotlin.jvm.target.validation.mode' default value to 'error'.
Now target check intentionally runs always - even when Java sources are
empty. Java part configures publication 'org.gradle.jvm.version'
attribute which affect  published artifact consumers and should be the
same as Kotlin jvmTarget value.

^KT-54993 Fixed
2022-11-18 10:42:00 +00:00
Ilya Gorbunov 59131f8138 Use BCV plugin to dump and check public API of Kotlin Gradle plugin-related artifacts 2022-11-18 06:00:18 +00:00
Ilya Gorbunov 49bd4e672b Drop dump of the obsolete kotlin-coroutines-experimental-compat artifact 2022-11-18 06:00:17 +00:00
Ilya Gorbunov d8e8c6afb3 Update BCV library version in reference public api test and update dumps
There were two problems in BCV fixed:
- https://github.com/Kotlin/binary-compatibility-validator/issues/36
- https://github.com/Kotlin/binary-compatibility-validator/issues/58

Therefore some methods with default values and properties that
mistakenly wasn't included in the dump, now have appeared in it.
2022-11-18 06:00:17 +00:00
Aleksei.Cherepanov 123caee0ed Revert "Suppress warning for mvn+kapt+jdk9"
This reverts commit 3fc91b01
2022-11-17 08:45:27 +01:00
Sebastian Sellmair bbd8aed419 [Gradle] kgp-idea: Update api reference
KT-54825
2022-11-17 07:38:45 +00:00
Sebastian Sellmair 071395ef62 [Gradle] Rename IdePlatformDependencyResolver to IdePlatformBinaryDependencyResolver
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair ee7989eb3b [Gradle] Implement tests for IdePlatformDependencyResolver
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair bc9296d646 [Gradle] Implement IdePlatformDependencyResolver
(ported from IdeaKpmPlatformDependencyResolver)

^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair e15812f196 [Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2253 for compatibility tests
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair b44be0d761 [Gradle][Minor] kgp-idea-proto: Avoid capturing project in test task
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair bc4644a031 [Gradle] Remove Internal marker from DefaultKotlinSourceSet
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair 7c00f6447d [Gradle] Implement IdeaKotlinDependencyForwardCompatibilityTest
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair 66cb2b3ad8 [Gradle] Implement IdeaKotlinDependencyBackwardsCompatibilityTest
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair 31b7fd9a1f [Gradle] Implement TestIdeaKotlinDependencySerializer
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 0fa92315ff [Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2192 for compatibility tests
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 7e1ad71996 [Gradle] kgp-idea: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 585045c599 [Gradle] kotlin-tooling-core: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 39904fe54b [Gradle] Update kgp-idea and kgp-idea-proto API reference
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 786adcaf3f [Gradle] kgp-idea.serialize: Change naming schema from Idea* to IdeaKotlin*
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 224a237385 [Gradle] Implement IdeaKotlinObjectGraphTest and fix discovered issues
KT-54825
2022-11-17 07:38:39 +00:00
Sebastian Sellmair 9771e57951 [Gradle] Implement IdeTransformedMetadataDependencyResolver
KT-54825
2022-11-17 07:38:39 +00:00
Sebastian Sellmair 687ccda3e8 [Gradle] Implement protobuf for kgp-idea/tcs
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair f3998d523d [Gradle] Move IdeDependency into kgp-idea module and share serializer logic
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair 1befefc687 [Gradle] o.j.k.kgp-integration-tests: Opt into InternalKotlinGradlePluginApi
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair 405c94e0bb [Gradle] Initial port of IdeaKpmProjectModelBuilder into TCS IdeMultiplatformImport
KT-54825
2022-11-17 07:38:37 +00:00
Aleksei.Cherepanov 3fc91b013d Suppress warning for mvn+kapt+jdk9
Suppress the warning about lack of tools.jar, as this jar does not present in JDK9+

#KT-47110 Fixed

Merge-request: KT-MR-7566
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com>
2022-11-16 20:02:57 +00:00