Commit Graph

8025 Commits

Author SHA1 Message Date
Anton Lakotka fd7ceabab6 [Gradle, MPP] Test sources publication as gradle variants
^KT-36943
2022-12-01 18:57:01 +00:00
Anton Lakotka 3a418bfe66 [Gradle, Test] Move mpp-sources-publication test data 2022-12-01 18:57:01 +00:00
Anton Lakotka a093527b8d [Gradle] Copy user-defined attributes to android variants...
when they are grouped by flavor.

In such case a different implementation of SoftwareComponents is used
And originally only KotlinComponents were covered.
2022-12-01 18:57:00 +00:00
Anton Lakotka 8e85e556ce [Gradle] Stop using Usage of UsageContext for maven scoping
Replace it instead with dedicated property [usageScope].

Gradle no longer supports `Usage` and KGP used it only for mapping
dependencies to appropriate maven scopes.
2022-12-01 18:57:00 +00:00
Artem Daugel-Dauge 30c2c62a1b Properly specify outputs for PodGenTask + expose Podfile location 2022-11-30 21:19:14 +00:00
Yahor Berdnikau 4d20b43619 Set jvm target validation to error only for builds with Gradle 8+
^KT54993 Fixed
2022-11-29 14:34:54 +00:00
Sebastian Sellmair 05b8a26a17 [Gradle] IdeMultiplatformImport: Support LibraryBinaryIdentifier 2022-11-29 12:52:51 +00:00
Dmitriy Dolovov 898626d055 [Gradle][IT] Fix K/N IT that fails due to new interop library CoreFoundationBase 2022-11-29 10:19:00 +00:00
Sebastian Sellmair 0b5d905577 [Gradle] Update kotlin-tooling-core.api and kotlin-gradle-plugin-idea.api
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair 80f22dda28 [Gradle] Cleanup IdeMultiplatformImportFactory.kt
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair d6f9e62565 [Gradle] Constraint IdeVisibleMultiplatformSourceDependencyResolver to non-leaf source sets
^KT-55112 Verification Pending
2022-11-29 08:05:15 +00:00
Sebastian Sellmair 2f5dc93ba7 [Gradle] Replace IdeaKotlinProjectArtifactDependency.Resolver by resolved function
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 4c270c7f6e [kotlin-tooling-core] Implement HasExtras utils
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 55cfe52e7d [Gradle] IdeaKotlinProjectArtifactDependencyMatcher: Use host independent path matcher
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Sebastian Sellmair 3f24b690e2 [Gradle] IdeVisibleMultiplatformSourceDependencyResolver: Reuse resolveMetadata function
^KT-55112 Verification Pending
2022-11-29 08:05:13 +00:00
Sebastian Sellmair 813fb6fc40 [Gradle] kgp-idea: Update api reference
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair f9d1286fce [Gradle] kgp-idea: Compatibility tests: bump version to 1.8.20-dev-3076
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair 2bfc559c50 [Gradle] Implement IdeaKotlinEntityTest and IdeaKotlinEntity annotations
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair 2c55d2cea3 [Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver.composite
KT-55112
2022-11-29 08:05:12 +00:00
Sebastian Sellmair 273f8a8434 [Gradle] Implement IdeaKotlinProjectArtifactDependency.Resolver
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair 0aad848757 [Gradle] IdeMultiplatformImport: Force empty binary resolve for Android dependencies
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair 90248f4e44 [Gradle] Share utils in IdeMetadataDependencyResolvers with IdeJvmAndAndroidSourceDependencyResolver
KT-55112
2022-11-29 08:05:11 +00:00
Sebastian Sellmair cda82b47e0 [Gradle] Implement IdeaKotlinProjectArtifactDependency
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair e6daabdb2d [Gradle] IdeOriginalMetadataDependencyResolver: Safe cast to ModuleCompontentIdentifier
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair dcc196db04 [Gradle] Implement IdeJvmAndAndroidSourceDependencyResolver
KT-55112
2022-11-29 08:05:10 +00:00
Sebastian Sellmair 38446dc3e8 [Gradle] IdeResolveSourceDependenciesTest: Implement jvmAndAndroid test
KT-55112
2022-11-29 08:05:09 +00:00
Sebastian Sellmair d935e41862 [Gradle] Implement IdeFriendSourceDependencyResolver & IdeVisibleMultiplatformSourceDependencyResolver
KT-55112
2022-11-29 08:05:09 +00:00
Alexander Korepanov 9dab8637a8 [JS Gradle] Pass incremental cache root dir to K2JS compiler 2022-11-28 20:46:40 +00:00
Alexander Korepanov ca19d71a00 [JS IR] Commit cache header after lowering
Commiting cache header before lowering may
 break caches in case of lowering errors.

^KT-54912 Fixed
2022-11-28 20:46:40 +00:00
Pavel Kirpichenkov ad0dee822e [MPP] KT-54974 Implement TCS dependency resolver for K/N stdlib 2022-11-28 09:25:07 +00:00
Artem Daugel-Dauge 4f736524b2 KT-54969 Kotlin artifacts withPodspec DSL 2022-11-27 18:09:38 +00:00
Zalim Bashorov 70a3d43adf [Wasm] Update Binaryen version in gradle plugin: 110 -> 111 2022-11-25 15:32:32 +01:00
Ilya Gorbunov 0d0cc9250b Note about all() result on empty collections KT-54835 2022-11-25 14:09:09 +00:00
Alexander Likhachev bcc0414960 [Gradle, MPP] Cover KT-55134 by tests 2022-11-25 03:24:52 +01:00
Alexander Likhachev 51aa284dd1 [Gradle, MPP] Do not read tests state file when it's absent
#KT-55134 Fixed
2022-11-25 03:24:50 +01:00
Sebastian Sellmair 7870c82221 [Gradle][Native] K2NativeCompilerArguments.refinesPaths: Use Array<String> instead of String
^KT-55071 Verification Pending
2022-11-24 14:42:11 +00:00
Sebastian Sellmair 5818187e57 [Gradle][Native] Implement KotlinNativeCompileRefinesPathsTest
^KT-55071 Verification Pending
2022-11-24 14:42:11 +00:00
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