I’m getting an error for implicit dependencies: ``...
# ksp
j
I’m getting an error for implicit dependencies:
Copy code
Some problems were found with the configuration of task ':my_module:kspDevDebugUnitTestKotlin' (type 'KspTaskJvm').
  - Gradle detected a problem with the following location: '/home/********/project/my_module/build/generated/ksp/devRelease/java/com/company/my_module/db/roomdao/Dao_Impl.java'.
    
    Reason: Task ':my_module:kspDevDebugUnitTestKotlin' uses this output of task ':my_module:kspDevReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':my_module:kspDevReleaseKotlin' as an input of ':my_module:kspDevDebugUnitTestKotlin'.
      2. Declare an explicit dependency on ':my_module:kspDevReleaseKotlin' from ':my_module:kspDevDebugUnitTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':my_module:kspDevReleaseKotlin' from ':my_module:kspDevDebugUnitTestKotlin' using Task#mustRunAfter.
Isn’t it weird that
kspDevDebugUnitTestKotlin
depends on
kspDevReleaseKotlin
?
👀 1
j
doesn’t look right to me, do you see a dependency on the release compile task for debug compile task?
j
I don't think I've seen anything like this but I'll check
I couldn’t find anything
The problem only comes when I run
./gradlew koverXmlReport sonar -Pflavor=staging