zsperske
02/20/2023, 6:44 PMkapt
I have kotlin("kapt")
in my app
build.gradle and after upgrading I get the following error:
* Where:
Build file '/Users/zacharysperske/Documents/workspace/android/app/build.gradle.kts' line: 3
* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.kapt']
> Failed to apply plugin 'org.jetbrains.kotlin.kapt'.
> java.lang.reflect.UndeclaredThrowableException (no error message)
* Try:
> Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.kapt']
Full stacktrace in thread:Adam S
02/20/2023, 7:42 PMCaused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.gradle.internal.KaptWithKotlincTask
at org.gradle.android.workarounds.RoomSchemaLocationWorkaround.getKaptWithKotlincTaskClass(RoomSchemaLocationWorkaround.groovy:351)
Looks like an incompatibility with Android Room?zsperske
02/20/2023, 7:55 PM