igorwojda / android-showcase

💎 Android application following best practices: Kotlin, Coroutines, JetPack, Clean Architecture, Feature Modules, Tests, MVVM, DI, Static Analysis...
MIT License
6.52k stars 895 forks source link

Update dependency com.google.devtools.ksp to v2 #509

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 1.9.25-1.0.20 -> 2.0.21-1.0.28 age adoption passing confidence

Release Notes

google/ksp (com.google.devtools.ksp) ### [`v2.0.21-1.0.28`](https://redirect.github.com/google/ksp/releases/tag/2.0.21-1.0.28) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.21-1.0.27...2.0.21-1.0.28) #### Updates - \[KSP2] Running from command line never finishes [#​2176](https://redirect.github.com/google/ksp/issues/2176) - Introduce KspAATask.commandLineArgumentProviders [#​2201](https://redirect.github.com/google/ksp/issues/2201) #### Contributors Thanks to [@​GeorgCantor](https://redirect.github.com/GeorgCantor) and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.27`](https://redirect.github.com/google/ksp/releases/tag/2.0.21-1.0.27) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.21-1.0.26...2.0.21-1.0.27) #### Bugs Fixed - KSP2: KtInvalidLifetimeOwnerAccessException: Access to invalid KtAlwaysAccessibleLifetimeToken: PSI has changed since creation [#​1854](https://redirect.github.com/google/ksp/issues/1854) - \[KSP2] getSymbolsWithAnnotation() doesn't work if the annotation is an alias in KOTLIN_LIB [#​2024](https://redirect.github.com/google/ksp/issues/2024) - KotlinSymbolProcessingExtension leaks files due to URLClassLoader not being closed [#​2159](https://redirect.github.com/google/ksp/issues/2159) - Unresolvable iOS reference on Linux host [#​2173](https://redirect.github.com/google/ksp/issues/2173) - Fail to apply ksp before android [#​2174](https://redirect.github.com/google/ksp/issues/2174) - \[KSP2] Mangled names for internal functions are incorrect for Android modules [#​2180](https://redirect.github.com/google/ksp/issues/2180) - \[KSP2] JVM names for property getters/setters are incorrect if they start with "is" [#​2181](https://redirect.github.com/google/ksp/issues/2181) #### Contributors Thanks to [@​jonamireh](https://redirect.github.com/jonamireh), [@​kuanyingchou](https://redirect.github.com/kuanyingchou), [@​martinbonnin](https://redirect.github.com/martinbonnin), [@​pablobaxter](https://redirect.github.com/pablobaxter), [@​scott-pollom](https://redirect.github.com/scott-pollom), and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.26`](https://redirect.github.com/google/ksp/releases/tag/2.0.21-1.0.26) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.21-1.0.25...2.0.21-1.0.26) #### Bugs Fixed - A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#​1968](https://redirect.github.com/google/ksp/issues/1968) - \[KSP2] default value is null for nested annotation [#​2077](https://redirect.github.com/google/ksp/issues/2077) - \[KSP2] "internal" members are out of order in Resolver.getDeclarationsInSourceOrder() [#​1827](https://redirect.github.com/google/ksp/issues/1827) - \[KSP2] Resolver.getDeclarationsFromPackage() couldn't find Java declarations [#​1952](https://redirect.github.com/google/ksp/issues/1952) - \[KSP2] Property setter parameter name becomes value [#​1865](https://redirect.github.com/google/ksp/issues/1865) - \[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction [#​1941](https://redirect.github.com/google/ksp/issues/1941) - \[KSP2] NullPointerException when calling hasBackingField on properties of Enum declarations [#​1753](https://redirect.github.com/google/ksp/issues/1753) - JVM Module name is changed for libraries [#​2105](https://redirect.github.com/google/ksp/issues/2105) - \[KSP2] asMemberOf() is not working with Java sources [#​2051](https://redirect.github.com/google/ksp/issues/2051) - KSP2: implement KSPropertyDeclaration.findOverridee and Resolver.asMemberOf for java fields [#​1642](https://redirect.github.com/google/ksp/issues/1642) - \[KSP2] command line doesn't support absolute Windows paths [#​2046](https://redirect.github.com/google/ksp/issues/2046) - \[KSP2] NPE when getting annotation arguments on non-Jvm targets [#​1823](https://redirect.github.com/google/ksp/issues/1823) - \[KSP2] Resolver.mapToJvmSignature() is not consistent [#​2109](https://redirect.github.com/google/ksp/issues/2109) - \[KSP2] Default annotation argument values are sometimes missing [#​2107](https://redirect.github.com/google/ksp/issues/2107) - \[KSP2] KSFunctionDeclaration.asMemberOf doesn't work sometimes [#​2116](https://redirect.github.com/google/ksp/issues/2116) - \[KSP2] Qualified names of nested annotations from JAVA_LIB is null [#​2033](https://redirect.github.com/google/ksp/issues/2033) - \[KSP2] Class literal annotation default values resolve to error types [#​1910](https://redirect.github.com/google/ksp/issues/1910) - KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol [#​2119](https://redirect.github.com/google/ksp/issues/2119) - KSP memory leak in Android build [#​2073](https://redirect.github.com/google/ksp/issues/2073) - \[KSP2] KSClassDeclaration.asType(emptyList()) fails after Resolver.getSymbolsWithAnnotation() call [#​2094](https://redirect.github.com/google/ksp/issues/2094) - KSValueArgumentImpl doesn't implement .equals() in KSP2 [#​2091](https://redirect.github.com/google/ksp/issues/2091) - \[KSP2] JvmName is ignored in annotation property getters [#​2148](https://redirect.github.com/google/ksp/issues/2148) - \[KSP2] Unable to get visibility of KSTypeAlias [#​2140](https://redirect.github.com/google/ksp/issues/2140) - Gradle kspKotlin task failed when upgrading to 2.0.20-1.0.25 [#​2123](https://redirect.github.com/google/ksp/issues/2123) - \[KSP2] Generic type arguments on typealiases are improperly forwarded to the KSType [#​2088](https://redirect.github.com/google/ksp/issues/2088) - java.lang.IllegalStateException: Storage for \[...] is already registered with 2.0.20-1.0.24 [#​2072](https://redirect.github.com/google/ksp/issues/2072) **Full Changelog**: https://github.com/google/ksp/compare/911690b86b60a0299af0e86b6abcf18d8abb003b...2.0.21-1.0.26 #### Contributors Thanks to [@​ansman](https://redirect.github.com/ansman), [@​asapha](https://redirect.github.com/asapha), [@​kaeawc](https://redirect.github.com/kaeawc), [@​kuanyingchou](https://redirect.github.com/kuanyingchou), [@​scott-pollom](https://redirect.github.com/scott-pollom), and everyone who reported bugs and participated in discussions! ### [`v2.0.21-1.0.25`](https://redirect.github.com/google/ksp/releases/tag/2.0.21-1.0.25) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.20-1.0.25...2.0.21-1.0.25) #### What's Changed - UPDATE_KOTLIN_VERSION: 2.0.21 by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/2145](https://redirect.github.com/google/ksp/pull/2145) **Full Changelog**: https://github.com/google/ksp/compare/2.0.21-RC-1.0.25...2.0.21-1.0.25 ### [`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) ### [`v2.0.10-1.0.24`](https://redirect.github.com/google/ksp/releases/tag/2.0.10-1.0.24) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.0-1.0.24...2.0.10-1.0.24) #### What's Changed - UPDATE_KOTLIN_VERSION: 2.0.10 by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/2022](https://redirect.github.com/google/ksp/pull/2022) ### [`v2.0.0-1.0.24`](https://redirect.github.com/google/ksp/releases/tag/2.0.0-1.0.24) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.0-1.0.23...2.0.0-1.0.24) #### What's Changed [#​2013](https://redirect.github.com/google/ksp/issues/2013) Handle edge cases of KtAnnotated.annotations [#​2009](https://redirect.github.com/google/ksp/issues/2009) Fix :kotlin-analysis-api:shadowJar failing on Windows [#​2006](https://redirect.github.com/google/ksp/issues/2006) Use symbol-processing-aa-embeddable in Gradle #### Bugs Fixed [#​1956](https://redirect.github.com/google/ksp/issues/1956) IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2 [#​1998](https://redirect.github.com/google/ksp/issues/1998) KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate. **Full Changelog**: https://github.com/google/ksp/compare/e8807446b16ba19e110cc23f6b852054614f7ec8...c63864cc1268bcb1c83e058494b6ff4b25947251 ### [`v2.0.0-1.0.23`](https://redirect.github.com/google/ksp/releases/tag/2.0.0-1.0.23) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.0-1.0.22...2.0.0-1.0.23) #### Issues fixed - \[KSP2] Nullable type arg type becomes non-null after replace() call [#​1856](https://redirect.github.com/google/ksp/issues/1856) - Annotations on enum entires on K2 are missing [#​1962](https://redirect.github.com/google/ksp/issues/1962) - Got IllegalStateException when calling replace() on error types [#​1960](https://redirect.github.com/google/ksp/issues/1960) - \[KSP2] Resolver.getJvmCheckedException doesn't work on property accessors [#​1900](https://redirect.github.com/google/ksp/issues/1900) - \[KSP2] Property getter JVM names in data classes become componentN instead of getXXX [#​1958](https://redirect.github.com/google/ksp/issues/1958) - \[KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes [#​1859](https://redirect.github.com/google/ksp/issues/1859) - \[KSP2] KSFunctionDeclaration.asMemberOf does not return correct types [#​1919](https://redirect.github.com/google/ksp/issues/1919) - implement getOwnerJvmClassName [#​1979](https://redirect.github.com/google/ksp/issues/1979) - \[KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results [#​1939](https://redirect.github.com/google/ksp/issues/1939) - \[KSP2] Annotations on extension receivers are missing [#​1899](https://redirect.github.com/google/ksp/issues/1899) ### [`v2.0.0-1.0.22`](https://redirect.github.com/google/ksp/releases/tag/2.0.0-1.0.22) [Compare Source](https://redirect.github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22) #### Important Changes - `KSErrorType.toString()` now contains the reference name it was tried to be resolved, and therefore `KSErrorType` is no longer a singleton. Processors relying on equality checks of that (in contrast of using `KSType.isError`) will need to be updated accordingly. #### Issues Fixed [#​1908](https://redirect.github.com/google/ksp/issues/1908) KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows [#​1917](https://redirect.github.com/google/ksp/issues/1917) KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency [#​1911](https://redirect.github.com/google/ksp/issues/1911) NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21) [#​1909](https://redirect.github.com/google/ksp/issues/1909) KSP2: default annotation arguments no longer work in 1.0.21 [#​1232](https://redirect.github.com/google/ksp/issues/1232) Expose simple names on a missing types's synthetic declaration [#​1857](https://redirect.github.com/google/ksp/issues/1857) \[KSP2] Modifiers are missing for property accessors [#​1924](https://redirect.github.com/google/ksp/issues/1924) \[KSP2] Type arg becomes '\*' after calling KSType.replace() with an error type [#​1948](https://redirect.github.com/google/ksp/issues/1948) KSP2 default annotation KClass values for built-in types use java.lang.\* versions #### What's Changed - Include type hint into KSErrorType. by [@​Jeffset](https://redirect.github.com/Jeffset) in [https://github.com/google/ksp/pull/1848](https://redirect.github.com/google/ksp/pull/1848) - Implement Resolver.getModuleName API by [@​ZacSweers](https://redirect.github.com/ZacSweers) in [https://github.com/google/ksp/pull/1847](https://redirect.github.com/google/ksp/pull/1847) - Patch AA service files in renamed uber jar by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1867](https://redirect.github.com/google/ksp/pull/1867) - fix annotation default value parsing for arrays and class literals. by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1871](https://redirect.github.com/google/ksp/pull/1871) - fix package name for library based symbols by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1873](https://redirect.github.com/google/ksp/pull/1873) - Do not index classpath in declaration provider by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1870](https://redirect.github.com/google/ksp/pull/1870) - check functional interface for modifiers by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1872](https://redirect.github.com/google/ksp/pull/1872) - Annotation default java by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1879](https://redirect.github.com/google/ksp/pull/1879) - fix type parameter bounds by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1880](https://redirect.github.com/google/ksp/pull/1880) - Add command line parser and entry points by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1885](https://redirect.github.com/google/ksp/pull/1885) - KSP2: Fix support of wasm by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1888](https://redirect.github.com/google/ksp/pull/1888) - Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1881](https://redirect.github.com/google/ksp/pull/1881) - Reuse Kotlin indexes in incremental providers by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1891](https://redirect.github.com/google/ksp/pull/1891) - special handling for java property accessors override checking by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1894](https://redirect.github.com/google/ksp/pull/1894) - KSP2: Reuse Java indexes by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1895](https://redirect.github.com/google/ksp/pull/1895) - Incremental: fix roots from getSealedSubclasses by [@​ting-yuan](https://redirect.github.com/ting-yuan) in [https://github.com/google/ksp/pull/1893](https://redirect.github.com/google/ksp/pull/1893) - use safe cast for annotation type to declaration resolution by [@​neetopia](https://redirect.github.com/neetopia) in [https://github.com/google/ksp/pull/1902](https://redirect.github.com/google/ksp/pull/1902) **Full Changelog**: https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22 ### [`v2.0.0-1.0.21`](https://redirect.github.com/google/ksp/releases/tag/2.0.0-1.0.21) [Compare Source](https://redirect.github.com/google/ksp/compare/1.9.25-1.0.20...2.0.0-1.0.21) This release brings mostly bug fixes into [KSP2 beta](https://redirect.github.com/google/ksp/blob/main/docs/ksp2.md) Users are encouraged to try out KSP2 beta. ##### new feature expose an API in Resolver to retrieve the module name for handling mangling of internal members [#​1621](https://redirect.github.com/google/ksp/issues/1621) ##### issues fixed - Class values are missing class type in annotation values [#​1646](https://redirect.github.com/google/ksp/issues/1646) - Kotlin Function\* types reports inconsistent package and qualified names [#​1845](https://redirect.github.com/google/ksp/issues/1845) - KSP2 cannot load Android lint checks jar due to FileTooBigException [#​1839](https://redirect.github.com/google/ksp/issues/1839) - \[KSP2] KSAnnotations with annotation properties with a default value always resolve to null [#​1843](https://redirect.github.com/google/ksp/issues/1843) - \[KSP2] Modifier.FUN is missing in functional interfaces [#​1853](https://redirect.github.com/google/ksp/issues/1853) - \[KSP2] ClassCastException when calling KSType.starProjection() on a Java field type [#​1735](https://redirect.github.com/google/ksp/issues/1735) - \[KSP2] Annotation arguments with default values are missing [#​1837](https://redirect.github.com/google/ksp/issues/1837) - \[KSP2] Intersection types are not modeled [#​1846](https://redirect.github.com/google/ksp/issues/1846) - KSP2: Model enum entries in annotation values [#​1861](https://redirect.github.com/google/ksp/issues/1861) - KSP2: Unknown JS backend: Wasm [#​1889](https://redirect.github.com/google/ksp/issues/1889) - \[KSP2] NullPointerException when getting arguments of annotation value [#​1798](https://redirect.github.com/google/ksp/issues/1798)

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 this update again.



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