Commit Graph

47 Commits

Author SHA1 Message Date
Sebastian Sellmair d80e6f8d66 [kotlin-tooling-core] Implement 'closure' sequence APIs 2024-02-23 15:48:47 +00:00
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
Timofey Solonin 700432e111 Add a closure function to return a graph in explicit bfs order
^KT-65540
2024-02-19 09:28:08 +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
Sebastian Sellmair 08241acb6f [Gradle] Demote ExtrasProperty APIs with little usage
Those APIs can either be replaced with StoredProperty
Some APIs also have shown to be 'hard to understand'

KT-61634
2023-10-17 12:10:15 +00:00
Alexander.Likhachev 44d9a2136b Bump language version for Gradle plugins' dependencies to 1.5
#KT-58569 Fixed
2023-05-12 12:59:39 +00:00
Sebastian Sellmair 25c2fe03a9 [Gradle] Update 'Scheduled for removal' deprecations
^KT-58220 Verification Pending
2023-04-25 17:08:59 +00:00
Sebastian Sellmair f5fadc1f68 [kotlin-tooling-core] Add Interner.clear API 2023-04-06 16:02:54 +00:00
Sebastian Sellmair f21e08f6b9 [kotlin-tooling-core] Add extrasNullableLazyProperty API
^KT-56431 Verification Pending
2023-02-14 15:15:11 +00:00
Yahor Berdnikau b9aac83135 Add Kotlin Gradle plugins bom
This should help with failed variants selection between different Kotlin
 Gradle plugins versions.

 ^KT-54691 In Progress
2023-01-05 18:26:27 +00:00
Sebastian Sellmair 71fac797ee [kotlin-tooling-core] Implement generic Interner
^KT-55475 Verification Pending
2022-12-16 16:46:16 +00:00
Sebastian Sellmair 764a57f126 [kotlin-tooling-core] Implement ExtrasLazyProperty
^KT-55289 Verification Pending
2022-12-12 20:29:07 +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 a23e4a1048 [kotlin-tooling-core] Implement ExtrasProperty
KT-55189
2022-12-02 07:47:31 +00:00
Sebastian Sellmair e002bbe906 [Gradle] Mark dependencies coming from nativeDistribution
KT-55189
2022-12-02 07:47:30 +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 4c270c7f6e [kotlin-tooling-core] Implement HasExtras utils
^KT-55112 Verification Pending
2022-11-29 08:05:14 +00:00
Dmitriy Novozhilov 1b27d60307 [FIR] Support @OnlyInputTypes annotation
^KT-54807 Fixed
2022-11-22 15:46:17 +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 585045c599 [Gradle] kotlin-tooling-core: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 4cbd715b17 [Gradle] Implement Kotlin*NativeCompilations with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Sebastian Sellmair 42009431d1 [kotlin-tooling-core] linearClosure & withLinearClosure: Support loops
KT-54312
2022-10-27 09:12:54 +00:00
Sebastian Sellmair 127c5120dd Only fail parsing KotlinToolingVersion if parsing major or minor fails
^KT-54301 Verification Pending
2022-10-06 07:54:41 +00:00
Sebastian Sellmair cda28da09d [kotlin-tooling-core] KotlinToolingVersionOrNull: return null on bad classifier argument
^KT-54301 Verification Pending
2022-10-05 12:19:16 +00:00
Sebastian Sellmair 32f86d4672 [Gradle] Implement AndroidGradlePluginVersion util
^KT-54033 WIP
2022-09-21 13:43:44 +00:00
Nikolay Krasko 496058c7e1 Forbid handling dashed in KotlinToolingVersion parsing 2022-09-08 14:45:59 +00:00
Nikolay Krasko ff04918125 Allow any classifiers for DEV maturity
Allow to have personal builds with custom versioning.

KTI-922
2022-09-08 14:45:58 +00:00
Nikolay Krasko a47377e214 Refactoring: utilities for checking build and classifier numbers 2022-09-08 14:45:58 +00:00
Nikolay Krasko 1df9882aed Refactoring: simplify maturity testing in KotlinToolingVersionTest 2022-09-08 14:45:58 +00:00
sebastian.sellmair f996e87528 KotlinToolingVersion: Allow dev versions with generic classifiers
e.g.:
1.6.20-dev-myWildcard-510 (build number 510)
1.6.20-dev-myWildcard (no build number)
1.6.20-dev-myWildcard510 (no build number)
1.6.20-dev-google-pr210-510 (build number 510)
2022-06-23 16:00:06 +00:00
sebastian.sellmair 339b604e09 [kotlin-tooling-core] closure.kt: Implement fast paths for empty closures 2022-06-20 10:33:37 +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 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 e6c0d73989 [kotlin-tooling-core] Support 'pub' suffix for KotlinToolingVersion 2022-06-17 10:55:37 +00:00
Yan Zhulanow 3a6dd52833 [Pill] Update imported modules 2022-06-16 18:31:49 +00:00
sebastian.sellmair 290fda9c10 [Gradle] Replace o.j.k.g.utils.UnsafeApi with o.j.k.tooling.core.UnsafeApi 2022-05-23 14:40:51 +00:00
sebastian.sellmair 4f4f749c08 [kpm] Replace KotlinExternalModelContainer with new Extras implementation
This newly introduced `Extras` shall present a more generic mechanism
of attaching data of a given type to any entity.
2022-05-23 14:40:49 +00:00
sebastian.sellmair d7bfa02bb3 [tooling-core] Add KotlinToolingVersionOrNull factory function 2022-05-19 12:46:04 +00:00
sebastian.sellmair a87c2ace29 kotlin-tooling-core: Remove plugin jps-compatible 2022-03-17 16:53:41 +00:00
sebastian.sellmair f540b4bc82 KotlinToolingVersion: Evaluate maturity eagerly 2022-03-17 16:53:40 +00:00
sebastian.sellmair 6800475202 KotlinToolingVersion: Support -release in versions 2022-03-17 16:53:40 +00:00
sebastian.sellmair 6d87fbddf4 kotlin-tooling-core: Rename singleClosure to linearClosure 2022-03-09 13:17:07 +00:00
sebastian.sellmair 6a96b6ec3f kotlin-tooling-core: Setup binary compatibility tests 2022-03-09 13:17:07 +00:00
sebastian.sellmair 93e04c0b33 kotlin-tooling-core: Implement KotlinToolingVersion API 2022-03-09 13:17:06 +00:00
sebastian.sellmair 530a3bb6ea kotlin-tooling-core: Implement closure util 2022-03-09 13:17:05 +00:00
sebastian.sellmair fe45214d23 Create new kotlin-tooling-core module 2022-03-09 13:17:05 +00:00