Commit Graph

144 Commits

Author SHA1 Message Date
Sebastian Sellmair 704379934e [kotlin-tooling-core] Allow nullable extra values
The change is binary compatible, but not source compatible.
Potential clients like Google might need to adapt
a potential `IdeaKotlinExtrasSerializationExtension` implementaiton.

Right now, no such implementation is known
2024-02-23 07:31:32 +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
Anton Lakotka 7c9505d9b6 [Gradle] Sources resolver test for multiple capabilities
If dependency has more than one capability sources still can be
resolved.

^KT-63226 In Progress
2023-12-07 08:42:35 +00:00
Sebastian Sellmair 34abc008ec [Gradle] Update api dump after removing KPM import code
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair 0a8cca9be4 [Gradle] Remove KPM IDE Gradle Sync support
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair 33a61c62ba [Gradle] IdeaKotlinProjectArtifactDependencyMatcher: Migrate to 'BuildIdentifier.getBuildPath'
^KT-58157 In Progress
2023-07-28 15:55:51 +00:00
Sebastian Sellmair 71e779375f [Gradle] IdeKotlinSourceDependencyMatcher: Migrate to 'BuildIdentifier.getBuildPath'
^KT-58157 In Progress
2023-07-28 15:55:51 +00:00
Sebastian Sellmair f5e946c0b2 [Gradle] IdeaKotlinProjectCoordinates: Replace 'buildId' with 'buildName' and 'buildPath'
^KT-58157 In Progress
2023-07-28 15:55:51 +00:00
Sebastian Sellmair f883079988 [Gradle] IdeBinaryDependencyResolver: Support opaque file dependencies
^KT-60612 In Progress
2023-07-26 09:50:12 +00:00
Sebastian Sellmair 3032d02ce9 [Gradle] Ide Dependency Resolution: Provide attributes for binary coordinates
^KT-60053 Verification Pending
2023-07-14 12:09:09 +00:00
Sebastian Sellmair 041b424bab [Gradle] Ide Dependency Resolution: Provide capabilities for binary coordinates
^KT-60053 Verification Pending
2023-07-14 12:09:09 +00:00
Sebastian Sellmair 7af254fbf2 [Gradle] Implement IdeaKotlinBinaryCoordinates.displayString and identityString
^KT-60053 In Progress
2023-07-14 12:09:09 +00:00
Sebastian Sellmair e3f0fa4257 [Gradle] IdeaKotlinBinaryCoordinates: Include 'Capabilities'
... in order to differentiate between feature variants of
published libraries (e.g. testFixtures)

^KT-60053 In Progress
2023-07-14 12:09:09 +00:00
Yahor Berdnikau ed8fc64257 [repo] Update to Gradle 8.2.1 version
This Gradle release also fixes 2 security vulnerabilities:
https://docs.gradle.org/8.2.1/release-notes.html
2023-07-12 12:49:32 +00:00
Sebastian Sellmair 628fa919dd [kotlin-tooling-core] Document IdeaKotlinExtrasSerializationExtension
KT-55524
2023-04-25 12:49:50 +00:00
Yahor Berdnikau 0cad069522 [Build] Pin api and language level to 1.8 in Kotlin compiler modules used by KGP
This is required to be able to compile KGP and it's dependencies which
set LV to 1.4 when repo will use LV 1.9. This caused by the change how
enums are compiled (KT-48872).
2023-02-18 13:26:54 +00:00
Sebastian Sellmair 6fae581ffb [Gradle][Minor] IdeaKotlinClasspath: Improve .toString() readability
KT-56198
2023-01-26 10:25:20 +00:00
Anton Lakotka cc98b7b4cd [Gradle] Delete failing KPM tests after Configuration Cache fixes
KPM is experimental and is not going to be supported before stable
release

^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka 32cb38e0d4 [Gradle] Disable KPM tests that is faling due to changes about GCC+HMPP
^KT-49933
2023-01-20 20:15:22 +00:00
Sebastian Sellmair b6682d1789 [Gradle] IdeaKotlinClasspath: Use Intener implementation from kotlin-tooling-core
^KT-55475 Verification Pending
2022-12-16 16:46:16 +00:00
Sebastian Sellmair e19d5768e2 [Gradle] Add documentation on IdeaKotlinProjectArtifactDependency.artifactsClasspath
^KT-55475 Verification Pending
2022-12-16 16:46:15 +00:00
Sebastian Sellmair 38f310467a [Gradle] Implement IdeaKotlinClasspath interner
This very simple interner mechanism ensures that when import runs
within the IDE process, we de-duplicate existing file instances.

This might have an effect, because during GradleProjectResolution
we could have plenty source sets that refer to the same
files.

^KT-55492 Verification Pending
2022-12-16 16:46:14 +00:00
Sebastian Sellmair e32cff3b38 [Gradle] Implement IdeMultiplatformImport using new IdeaKotlinClasspath
^KT-55492 Verification Pending
2022-12-16 16:46:13 +00:00
Sebastian Sellmair 4eb5641e2a [Gradle] Implement IdeaKotlinClasspath concept
KT-55492
2022-12-16 16:46:13 +00:00
Sebastian Sellmair 7f14255be8 [Gradle] Implement initial MppCompositeBuildIT
^KT-52172 Verification Pending
2022-12-13 14:47:17 +00:00
Sebastian Sellmair 636d4a74a5 [Gradle] Add convenience extensions for IdeaKotlinBinaryDependency
^KT-55289 Verification Pending
2022-12-12 20:29:13 +00:00
Sebastian Sellmair 7a89f4087a [Gradle] Implement IdeSourcesAndDocumentationResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair 23bd6332b4 [Gradle] Update kotlin-gradle-plugin-idea.api
KT-55238
2022-12-06 08:36:12 +00:00
Sebastian Sellmair 1ec7e404fd [Gradle] Implement MppIdeDependencyResolutionIT.testCommonizedPlatformDependencyResolution
^KT-55238 Verification Pending
2022-12-06 08:36:12 +00:00
Sebastian Sellmair 4b036cc627 [Gradle] Implement IdeCommonizedNativePlatformDependencyResolver
KT-55238
2022-12-06 08:36:11 +00:00
Sebastian Sellmair adf6516986 [Gradle] Make 'isIdeaProjectLevel' opt-out instead of opt-in
KT-55218
2022-12-02 07:47:33 +00:00
Sebastian Sellmair ba68977f52 [Gradle] Remove HasExtras delegates in favor of new ExtrasProperty
KT-55189
2022-12-02 07:47:33 +00:00
Sebastian Sellmair 4ea77f7836 [Gradle] Update kotlin-gradle-plugin-idea.api and kotlin-tooling-core.api
KT-55189
2022-12-02 07:47:32 +00:00
Sebastian Sellmair 4d3880879d [Gradle] Use ExtrasProperty
KT-55189
2022-12-02 07:47:31 +00:00
Sebastian Sellmair 61c2c0680f [Gradle] Update kotlin-gradle-plugin-idea.api
KT-55189
2022-12-02 07:47:30 +00:00
Sebastian Sellmair e002bbe906 [Gradle] Mark dependencies coming from nativeDistribution
KT-55189
2022-12-02 07:47:30 +00:00
Sebastian Sellmair 0f533a8a2f [Gradle] kgp-idea: Implement isIdeaProjectLevel and KlibExtra
KT-55189
2022-12-02 07:47:28 +00:00
Sebastian Sellmair bb039ae535 [Gradle] kgp-idea: Implement IdeaKotlinExtra
KT-55189
2022-12-02 07:47:28 +00:00
Sebastian Sellmair 8cee0496f3 [Gradle] Lift String, Int and Boolean serializers from testFixtures to main source set
KT-55189
2022-12-02 07:47:27 +00:00
Sebastian Sellmair 0ad45cc196 [Gradle] Implement IdeResolveDependenciesTask
KT-54977
2022-12-02 07:47:27 +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 2f5dc93ba7 [Gradle] Replace IdeaKotlinProjectArtifactDependency.Resolver by resolved function
^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 813fb6fc40 [Gradle] kgp-idea: Update api reference
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 cda82b47e0 [Gradle] Implement IdeaKotlinProjectArtifactDependency
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 d935e41862 [Gradle] Implement IdeFriendSourceDependencyResolver & IdeVisibleMultiplatformSourceDependencyResolver
KT-55112
2022-11-29 08:05:09 +00:00