Phil Glass

Results 9 comments of Phil Glass

@TWiStErRob You're right, that's the wrong documentation link. It was late! I found another issue with `AnnotationRetention.BINARY` support after running this check over our codebase - I've pushed another commit...

I could put together a standalone repro, but I think the issues are exactly the same as they are for the kapt version - `schemaLocation` is [passed as an absolute...

I don't know of a KSP specific one - I guess [the existing issue](https://issuetracker.google.com/issues/132245929) applies? In that you can't really fix this using only kapt/KSP APIs, you need a Gradle...

`KspTask` [exposes its `ListProperty` as public API](https://github.com/google/ksp/blob/822131e9f7ecd6f25db23426a9374d84bb7152d4/gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt#L398-L399), so I think it is possible - I used that to work around this internally for now. Might be worth waiting for the...

> Thanks for following up on this @PhilGlass . Unfortunately, ListProperty is neither an input nor an output. That means that changes to the input, or clearing the output directory...

I can't edit it any more - but it already mentions kapt briefly. > And yes the RoomSchemaWorkaround does also [take care of the pre-existing schemas](https://github.com/gradle/android-cache-fix-gradle-plugin/blob/main/src/main/groovy/org/gradle/android/workarounds/RoomSchemaLocationWorkaround.groovy#L217). Sort of. It copies...

I don't think so - I haven't seen this fail in practice. Just another thing that came to mind when I was thinking about all the things that are wrong...

Agreed that there's little benefit right now, but when the configuration cache [is relocatable](https://github.com/gradle/gradle/issues/13510) and/or [supports intra-module parallel task execution on the first run](https://github.com/gradle/gradle/issues/14624) there will be!

> Don't have the full picture on how everything is connected but is there a reason why you wouldn't reset to the initial values? I'm wondering the same thing -...