Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin 1.7.0 - A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction #3425

Closed
Drjacky opened this issue Jun 10, 2022 · 4 comments

Comments

@Drjacky
Copy link

Drjacky commented Jun 10, 2022

Execution failed for task ':presentation:kaptDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
java.lang.reflect.InvocationTargetException (no error message)

Hilt: 2.40.1
AGP: 7.2.1
Kotlin: 1.7.0

https://scans.gradle.com/s/mhx6s3m7orxpe

And Hilt: 2.42:

Execution failed for task ':app:hiltAggregateDepsDebug'.
A failure occurred while executing dagger.hilt.android.plugin.task.AggregateDepsTask$WorkerAction
com.squareup.javapoet.ClassName.canonicalName()Ljava/lang/String;

@Drjacky
Copy link
Author

Drjacky commented Jun 10, 2022

And this solution didn't help: https://youtrack.jetbrains.com/issue/KT-45885

@Drjacky
Copy link
Author

Drjacky commented Jun 10, 2022

This helped: #3068 (comment)

@Drjacky Drjacky closed this as completed Jun 10, 2022
@BraisGabin
Copy link

Related with #3383. I add this comment because this is the first result in google but the issue that fixed my error is in that other issue.

@ZacSweers
Copy link

@BraisGabin I don't think that's related at all as this is a gradle build classpath issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants