kotlin-compile-testing icon indicating copy to clipboard operation
kotlin-compile-testing copied to clipboard

Support of Multi-Round-Processing of KSP?

Open bitPogo opened this issue 3 years ago • 5 comments

Hey, First of all thank you for maintaining this project - I used it excessively and it is pretty awesome! However I have just a question in regards to multi-round-processing of KSP with Compiler tests. Currently I generate some sources which are annotated them self which should be picked up by KSP in subsequent round. While running my Processor in a Compiler Test Context, KSP won't do that, but while running my entire setup in integration it does. I'm correct if I am assume it has something to do with #129?

bitPogo avatar May 08 '22 14:05 bitPogo

I believe that it would fall under the same issue, but I would have to investigate more closely to be sure, since I don't personally use multi-round-processing. It's also possible that this is implemented in the Gradle task, though that would be a bit unusual.

tschuchortdev avatar May 12 '22 13:05 tschuchortdev

Thanks for the replay! The multi round is actually executed. If it helps I can link you my tests where I am run into this.

bitPogo avatar May 12 '22 19:05 bitPogo

Please do, I will take a look at it.

tschuchortdev avatar May 13 '22 10:05 tschuchortdev

Sry for the late replay, I just wanted to avoid to many parts in the project. However you may find in test set more information. If I can be of any help please let me know. You should find me in Kotlin Slack via the project name with ease, if you prefer a more direct communication.

bitPogo avatar May 15 '22 19:05 bitPogo

FYI: It seems like KSP 1.7.0-1.6.0 and KCT 1.4.9. magically resolve that issue (for now). However I like to wait until the next version of both libs before closing the ticket, since I am not quite sure if this is an intended change or something by accident.

bitPogo avatar Jul 10 '22 14:07 bitPogo