just FYI, in the latest version of gradle if you add:
implementation project(':commonlib')
implementation project(':mobilertc')
>>>> implementation fileTree(dir: 'libs', include: ['*.jar'])
The duplicateclasscheck task will complain, hence:
implementation project(':commonlib')
implementation project(':mobilertc')
is perfectly fine…
Regards!