JailedBird / ArouterKspCompiler

Arouter KSP annotation processor
Apache License 2.0
77 stars 8 forks source link

ARouter init logistics center exception when running with code coverage #16

Open blundell opened 3 months ago

blundell commented 3 months ago

Me again :-)

We are hitting this issue here: https://github.com/alibaba/ARouter/issues/1018

The source code says

// These class was generated by arouter-compiler.

So I was wondering if this is something you have an opinion on please? 🙏

Normal Broken
image image

This is reproducable with:

android {
 buildTypes {
   debug {
      testCoverageEnabled true
   }
 }
}
./gradlew createDebugCoverageReport

The above gradle command will crash with an ARouter exception

Version

com.github.JailedBird:ArouterKspCompiler:1.9.20-1.0.7