Skip to content

KSP2: clean up legacy incremental code#2231

Merged
ting-yuan merged 1 commit into
google:mainfrom
ting-yuan:b2230
Nov 23, 2024
Merged

KSP2: clean up legacy incremental code#2231
ting-yuan merged 1 commit into
google:mainfrom
ting-yuan:b2230

Conversation

@ting-yuan

Copy link
Copy Markdown
Contributor

which was an lefe-over when moving to IncrementalGlobalSearchScope.

It also causes a problem when users wire generated outputs to source sets.

Prevents #2230

which was an lefe-over when moving to IncrementalGlobalSearchScope.

It also causes a problem when users wire generated outputs to source
sets.
@ting-yuan ting-yuan requested a review from dx404 November 22, 2024 21:39
@ting-yuan ting-yuan merged commit d095579 into google:main Nov 23, 2024
eygraber added a commit to eygraber/kotlin-inject that referenced this pull request Nov 23, 2024
eygraber added a commit to eygraber/kotlin-inject that referenced this pull request Nov 24, 2024
evant pushed a commit to evant/kotlin-inject that referenced this pull request Jan 10, 2025
* Enable KSP2

* Remove val from function parameter in test

* Use messagesWithSeverity for tests

* Kotlin 2.0.21

* Update yarn.lock

* Don't cache elements across rounds

* Fix test failures due to logging

* Fix typealiases for function injection

* Fix typealiases with type parameters

* KSP2 returns synthetic constructors for objects

* Defer all KmpComponentCreate functions to the last round

* Handle typealias to typealias

* Added a KSP1 target for unit tests

* Add KSP1 integration tests

* Clean in between assemble and check on CI

  - Avoids issues until google/ksp#2231 is released

* Update Kotlin to 2.1.0

* Update KSP to 2.1.0-1.0.29

* Update kotlin-compile-testing

* Rename resolveToHighestTypeAlias for clarity

* Remove unused property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running kspCommonMainKotlinMetadata twice turns generated files into directories

1 participant