Commit Graph

7239 Commits

Author SHA1 Message Date
Yahor Berdnikau ec545f6273 Add Kotlin SourceDirectorySet as extension
KotlinSourceSet now should be accessed via Kotlin project extension.
Conventions are still available, but not used inside plugins.

^KT-47047 In Progress
2022-06-21 11:26:29 +00:00
Ilya Goncharov b14724260a [Gradle, JS] Upgrade npm dependencies
^KT-52856 fixed
2022-06-21 07:39:44 +00:00
Yahor Berdnikau 6710d216e1 Add simplified JVM toolchain configuration method in extension
^KT-52867 Fixed
2022-06-20 20:02:25 +00:00
Alexander Likhachev 7125c14a34 [Gradle] Fix outputs backup when outputs are outside the build dir
#KT-51801 Fixed
2022-06-20 17:19:17 +00:00
Alexander Likhachev 554470c462 [Gradle, JS] Add test for KT-51801 2022-06-20 17:19:16 +00:00
sebastian.sellmair 339b604e09 [kotlin-tooling-core] closure.kt: Implement fast paths for empty closures 2022-06-20 10:33:37 +00:00
Igor Yakovlev ea0dfb50df [WASM] Fix invalid path for test runner
Windows path has backslash separator that reads as escape character in js
2022-06-18 19:12:22 +02:00
Igor Yakovlev 27bb9a087a [WASM] Mark wasm dsl as experimental 2022-06-18 19:12:22 +02:00
Igor Yakovlev 93574d49ef [WASM] Add binaryen dsl 2022-06-18 19:12:22 +02:00
Igor Yakovlev 952b846a5c [WASM] Implement gradle plugin binaryen support 2022-06-18 19:12:22 +02:00
Igor Yakovlev 177177ee8c [WASM] Implement gradle plugin run tasks for wasm 2022-06-18 19:12:22 +02: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 0eb4551e94 [kpm] kgp-idea: Update testedVersion to "1.7.20-dev-2127"
^KT-52568 Verification Pending
2022-06-17 22:27:12 +00:00
sebastian.sellmair 5caa5c5ab2 [kpm] kgp-idea: Skip unpublishable variants for testFixtures publication
^KT-52568 Verification Pending
2022-06-17 22:27:11 +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 12b6d32e73 [kpm] kotlin-tooling-core: Move Type into Extras.Type
^KT-52568 Verification Pending
2022-06-17 22:27:10 +00:00
sebastian.sellmair 08bb163021 [kpm] Update kotlin-gradle-plugin-idea API reference
^KT-52568 Verification Pending
2022-06-17 22:27:09 +00:00
sebastian.sellmair 92713bdcb3 [kpm] IdeaKpmContentRoot: Rename SOURCE_TYPE -> SOURCES_TYPE & RESOURCE_TYPE -> RESOURCES_TYPE
^KT-52568 Verification Pending
2022-06-17 22:27:08 +00:00
sebastian.sellmair 70df08c678 [kpm] Rename IdeaKpmSourceDirectory to IdeaKpmContentRoot
^KT-52568 Verification Pending
2022-06-17 22:27:08 +00:00
sebastian.sellmair fc3da93625 [kpm] IdeaKpmProjectContainer: Add documentation
^KT-52568 Verification Pending
2022-06-17 22:27:06 +00:00
sebastian.sellmair 0b7c1f42f6 [kpm] IdeaKpmBuildProjectModelTask: Change outputDirectory to IdeaKpmProject
^KT-52568 Verification Pending
2022-06-17 22:27:06 +00:00
sebastian.sellmair 2f6a8551ac [kpm] IdeaKpmBuildProjectModelTask: Add comment to signal that this is an internal task
^KT-52568 Verification Pending
2022-06-17 22:27:05 +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 82ab65e689 [kpm] Update public api reference for kotlin-gradle-plugin-idea & kotlin-tooling-core
^KT-52568 Verification Pending
2022-06-17 22:27:04 +00:00
sebastian.sellmair 20d23f7228 [kpm] kgp-kpm-android: Register serialization extension for AndroidDsl
^KT-52568 In Progress
2022-06-17 22:27:03 +00:00
sebastian.sellmair 1034e47a2a [kpm] kgp: functionalTest: Use new kgp-idea testFixtures
^KT-52568 In Progress
2022-06-17 22:27:02 +00:00
sebastian.sellmair 05e3919075 [kpm] kgp-idea: Refactor BackwardsCompatibilityDeserializationTest to run with protobufs
^KT-52568 In Progress
2022-06-17 22:27:02 +00:00
sebastian.sellmair c48ac0cfc1 [kpm] kgp-idea: Implement IdeaKpmProjectBackwardsCompatibilityDeserializationTest
^KT-52568 In Progress
2022-06-17 22:27:01 +00:00
sebastian.sellmair f52b4550d8 [kpm] kgp-idea: Implement CompatibilityTestUtil.kt
^KT-52568 In Progress
2022-06-17 22:27:00 +00:00
sebastian.sellmair faaec4689a [kpm] kgp-idea: Implement IdeaKpmJavaIoSerializableExtrasSerializerTest
^KT-52568 In Progress
2022-06-17 22:26:59 +00:00
sebastian.sellmair b57f5f2742 [kpm] kgp-idea: Implement serialization test fixtures
^KT-52568 In Progress
2022-06-17 22:26:59 +00:00
sebastian.sellmair ca45200e68 [kpm] kgp-idea: Implement TestIdeaKpmInstances
To share some simple objects for testing

^KT-52568 In Progress
2022-06-17 22:26:58 +00:00
sebastian.sellmair d73d36ef2c [kpm] kgp-idea: Refactor testFixtures
- Consistently prefix entities with 'TestIdeaKpm'

^KT-52568 In Progress
2022-06-17 22:26:57 +00:00
sebastian.sellmair 01a4045c04 [kpm] Implement generic 'kotlin.debug' extra
^KT-52568 In Progress
2022-06-17 22:26:57 +00:00
sebastian.sellmair da288d926b [kpm] Adapt ideaKpmFragmentBuilder.kt for new IdeaKpmSourceDirectory design
^KT-52568 In Progress
2022-06-17 22:26:56 +00:00
sebastian.sellmair a380d15828 [kpm] IdeaKpmBuildProjectModelTask: Add protobuf binary and measure times
This task is still just used for troubleshooting and debugging.
It does not serve any real production use-case

^KT-52568 In Progress
2022-06-17 22:26:55 +00:00
sebastian.sellmair 2d04d4f06e [kpm] kgp: Integrate IdeaKpm.* protobuf serialization into IdeaKpmProjectModelBuilder
- Rename IdeaKpmProjectModelBuildingContext to IdeaKpmProjectBuildingContext
- Support building IdeaKpmProjectContainer
- Implement IdeaKpmSerializationContext on Gradle side

^KT-52568 In Progress
2022-06-17 22:26:54 +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
sebastian.sellmair 58e2f6d5d7 [kpm] kotlin-tooling-core: Expose 'Type' in Extras.Key
This type can later be used for extension points to register
serializers for certain known types.

^KT-52568 In Progress
2022-06-17 22:26:50 +00:00
sebastian.sellmair 9a8832a241 [kpm] kgp-idea: Implement IdeaKpmProjectContainer
This container serves the purpose of transferring a already
serialized binary form of IdeaKpmProject to the IDE.

^KT-52568 In Progress
2022-06-17 22:26:50 +00:00
sebastian.sellmair 486c18bc21 [kpm] kgp-idea: Remove IdeaKpmPlatformDetails in favor of IdeaKpmPlatform
^KT-52568 In Progress
2022-06-17 22:26:49 +00:00
sebastian.sellmair 5f61b55abc [kpm] kgp-idea: Remove IdeaKpmResourceDirectory in favor of a morge generic IdeaKpmSourceDirectory
^KT-52568 In Progress
2022-06-17 22:26:48 +00:00
sebastian.sellmair 7db9a4b0b1 [kpm] kgp-idea: Implement IdeaKpmSerializationContext
This context shall be used to register extension points like
IdeaKpmSerializationLogger or IdeaKpmExtrasSerializationExtension

^KT-52568 In Progress
2022-06-17 22:26:47 +00:00
sebastian.sellmair 132743cb7a [kpm] kgp-idea: Publish testFixtures
^KT-52568 In Progress
2022-06-17 22:26:47 +00:00