You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Kotlin 1.9.20 with Gradle 8.4 with id("com.google.devtools.ksp") version "1.9.20-1.0.14" in a gradle multimodule project and I am unable to build the project. Getting the errors below:
What went wrong:
Some problems were found with the configuration of task ':xxxxx:kspKotlin' (type 'KspTaskJvm').
Gradle detected a problem with the following location: 'C:\Users...\ServiceGrpc.java'.
Reason: Task ':xxxxx-rest:kspKotlin' uses this output of task ':xxxxx-rest:generateProto' without declaring an explici
t or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':xxxxx-rest:generateProto' as an input of ':xxxxx-rest:kspKotlin'.
Declare an explicit dependency on ':xxxxx-rest:generateProto' from ':xxxxx-rest:kspKotlin' using Task#dependsOn.
Declare an explicit dependency on ':xxxxx-rest:generateProto' from ':xxxxx-rest:kspKotlin' using Task#mustRunAfte
r.
When setting explicit dependency as suggest, gradle is unable to find the task kspKotlin.
Thanks
The text was updated successfully, but these errors were encountered:
I am using Kotlin 1.9.20 with Gradle 8.4 with id("com.google.devtools.ksp") version "1.9.20-1.0.14" in a gradle multimodule project and I am unable to build the project. Getting the errors below:
Some problems were found with the configuration of task ':xxxxx:kspKotlin' (type 'KspTaskJvm').
Gradle detected a problem with the following location: 'C:\Users...\ServiceGrpc.java'.
Reason: Task ':xxxxx-rest:kspKotlin' uses this output of task ':xxxxx-rest:generateProto' without declaring an explici
t or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
r.
When setting explicit dependency as suggest, gradle is unable to find the task kspKotlin.
Thanks
The text was updated successfully, but these errors were encountered: