Why does the gradle annotation processing framework need to be redeclared everywhere?

I have a module named core , in which I have declared that I rely on an annotation processing framework arouter

the code is as follows

    //...
    api project(":core")
    //kapt "com.alibaba:arouter-compiler:1.1.4"

but it has no effect.

is kapt must be declared in the corresponding build.gradle ? If so, why?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e58844-59a42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e58844-59a42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?