ZacSweers / kotlin-compile-testing

A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
Mozilla Public License 2.0
109 stars 7 forks source link

Update ksp to v2.0.20-1.0.25 #283

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 2.0.10-1.0.24 -> 2.0.20-1.0.25 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-common-deps (source) 2.0.10-1.0.24 -> 2.0.20-1.0.25 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-aa-embeddable (source) 2.0.10-1.0.24 -> 2.0.20-1.0.25 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-api (source) 2.0.10-1.0.24 -> 2.0.20-1.0.25 age adoption passing confidence
com.google.devtools.ksp:symbol-processing (source) 2.0.10-1.0.24 -> 2.0.20-1.0.25 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

google/ksp (com.google.devtools.ksp) ### [`v2.0.20-1.0.25`](https://redirect.github.com/google/ksp/releases/tag/2.0.20-1.0.25) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.20-1.0.24...2.0.20-1.0.25) #### Bugs Fixed Inlined JVM name is not correct [#​1493](https://redirect.github.com/google/ksp/issues/1493) \[KSP2] NullPointerException when getting name of nested annotation [#​1963](https://redirect.github.com/google/ksp/issues/1963) \[KSP2] The status was unresolved for FirSimpleFunctionImpl [#​1938](https://redirect.github.com/google/ksp/issues/1938) \[KSP2] Class values in type annotations get resolved to error type [#​1933](https://redirect.github.com/google/ksp/issues/1933) \[KSP2] Comparing KSType leads to exception [#​1918](https://redirect.github.com/google/ksp/issues/1918) \[KSP2] Can't find values in repeatable annotations [#​1883](https://redirect.github.com/google/ksp/issues/1883) incremental: aggregating outputs should always be invalidated [#​2027](https://redirect.github.com/google/ksp/issues/2027) \[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation [#​2048](https://redirect.github.com/google/ksp/issues/2048) \[KSP2] Not yet implemented: KSValueArgumentImpl.getParent [#​2049](https://redirect.github.com/google/ksp/issues/2049) getSymbolsWithAnnotation returns copy function from data class [#​1996](https://redirect.github.com/google/ksp/issues/1996) \[KSP2] Annotations got use-site target when there are none specified [#​1882](https://redirect.github.com/google/ksp/issues/1882) getting null pointer exception [#​1929](https://redirect.github.com/google/ksp/issues/1929) \[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments [#​1930](https://redirect.github.com/google/ksp/issues/1930) \[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#​1941](https://redirect.github.com/google/ksp/issues/1941) KSP2: Resolver.getJvmNames doesn't work for inline and internal classes [#​1640](https://redirect.github.com/google/ksp/issues/1640) kspCaches don't work together with Gradle build cache [#​2042](https://redirect.github.com/google/ksp/issues/2042) #### Contributors Thank you so much! [@​ansman](https://redirect.github.com/ansman), [@​kuanyingchou](https://redirect.github.com/kuanyingchou) **Full Changelog**: https://github.com/google/ksp/compare/2.0.20-1.0.24...2.0.20-1.0.25 ### [`v2.0.20-1.0.24`](https://redirect.github.com/google/ksp/releases/tag/2.0.20-1.0.24) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.10-1.0.24...2.0.20-1.0.24) #### What's Changed - UPDATE_KOTLIN_VERSION: 2.0.20 by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/2040](https://redirect.github.com/google/ksp/pull/2040)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

tokazio commented 1 month ago

Needing this for kotlin 2.0.20 😁 Is it possible to merge it ?

Having some dependencies troubles

class ksp.com.google.devtools.ksp.common.impl.CodeGeneratorImpl cannot be cast to class com.google.devtools.ksp.common.impl.CodeGeneratorImpl (ksp.com.google.devtools.ksp.common.impl.CodeGeneratorImpl and com.google.devtools.ksp.common.impl.CodeGeneratorImpl are in unnamed module of loader 'app')

or

java.lang.ClassCastException: class com.google.devtools.ksp.impl.symbol.kotlin.KSClassDeclarationImpl cannot be cast to class com.google.devtools.ksp.symbol.impl.kotlin.KSClassDeclarationImpl (com.google.devtools.ksp.impl.symbol.kotlin.KSClassDeclarationImpl and com.google.devtools.ksp.symbol.impl.kotlin.KSClassDeclarationImpl are in unnamed module of loader 'app')

Because some files has moved