40 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
Alexander.Likhachev a19bd2ed2e [Build] Migrate most of the build logic from Project.buildDir usage
It's going to be deprecated in Gradle 8.3

There's currently no way to pass a `org.gradle.api.provider.Provider` to the JavaExec.systemProperty or Test.systemProperty. There's a workaround using `org.gradle.process.CommandLineArgumentProvider`, but I intentionally don't rework these calls as Gradle is going to allow passing providers to configure system properties: https://github.com/gradle/gradle/issues/12247#issuecomment-1568427242
^KTI-1473 In Progress
2023-12-07 18:31:06 +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
Vyacheslav Gerasimov be1babeae4 Build: Add protoc to implicitDependencies
#KTI-1277
2023-08-01 09:18:34 +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 3032d02ce9 [Gradle] Ide Dependency Resolution: Provide attributes for binary coordinates
^KT-60053 Verification Pending
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
Sebastian Sellmair 9732651264 [Gradle] kgp-idea-proto: Automate protoc setup
^KT-60053 In Progress
2023-07-14 12:09:09 +00:00
Sebastian Sellmair d0bb804e85 [Gradle] kgp-idea-proto: Add public API for extras serialisation
KT-55926
2023-01-16 14:56:46 +00:00
Sebastian Sellmair ca32347c91 [Gradle] Add IdeaKotlinClasspathSerializationTest.test - empty ByteArray
^KT-55475 Verification Pending
2022-12-16 16:46:15 +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 813fb6fc40 [Gradle] kgp-idea: Update api reference
KT-55112
2022-11-29 08:05:13 +00:00
Sebastian Sellmair cda82b47e0 [Gradle] Implement IdeaKotlinProjectArtifactDependency
KT-55112
2022-11-29 08:05:10 +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
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 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 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 60c969fe06 [Gradle] Replace previous kgp Internal and Experimental annotations
^KT-54029 Verification Pending
2022-09-19 16:03:45 +00:00
Nikolay Krasko 48a2ef040e Fix publication for kotlin-gradle-plugin-idea-proto
Javadoc and sources were missing.
2022-07-01 13:40:24 +00:00
sebastian.sellmair 096897492b [kpm] :kgp-idea-proto: Use default 'embedded' configuration over custom 'shadows' 2022-06-24 07:48:44 +00:00
sebastian.sellmair 600b0d7b81 [kpm] kgp-idea-proto: Remove protobuf types from public API surface
^KT-52568 Verification Pending
2022-06-17 22:27:15 +00:00
sebastian.sellmair 443faec30d [kpm] kgp-idea-proto: Create special binaryValidationApiElements configuration
This will be a 'lean' jar file (un-shadowed), which can later
be used by the binary-compatibility-validator to test the
API surface against.

^KT-52568 Verification Pending
2022-06-17 22:27:14 +00:00
sebastian.sellmair 514ea01175 [kpm] Embed protobuf runtime into kgp-idea-proto runtime jar
^KT-52568 Verification Pending
2022-06-17 22:27:13 +00:00
sebastian.sellmair d8ac6357a6 [kpm] IdeaKpmProtoSchema: Include message severity for future messages
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair 70df08c678 [kpm] Rename IdeaKpmSourceDirectory to IdeaKpmContentRoot
^KT-52568 Verification Pending
2022-06-17 22:27:08 +00:00
sebastian.sellmair a12c938100 [kpm] Minimize kgp-proto's API surface and add binary compatibility tests
^KT-52568 Verification Pending
2022-06-17 22:27:04 +00:00
sebastian.sellmair 2a5457f59d [kpm] kgp-idea-proto: Implement simple serialization tests
^KT-52568 In Progress
2022-06-17 22:26:54 +00:00
sebastian.sellmair d78fb1d4d2 [kpm] kgp-idea-proto: Add conversion from IdeaKpm.* to IdeaKpm.*Proto
^KT-52568 In Progress
2022-06-17 22:26:53 +00:00
sebastian.sellmair 2ecfd76bbb [kpm] kgp-idea-proto: Add generated code for protobufs
This code was generated by libprotoc 3.19.4

^KT-52568 In Progress
2022-06-17 22:26:52 +00:00
sebastian.sellmair 6a520246e5 [kpm] kgp-idea-proto: Add .proto definitions for IdeaKpm models
^KT-52568 In Progress
2022-06-17 22:26:52 +00:00
sebastian.sellmair 252c297112 [kpm] Create new :kotlin-gradle-plugin-proto module 2022-06-17 22:26:51 +00:00