How to prevent gradle from downloading specific dependency's source?

I have some local dependencies that I only have there binaray jar.
eg: alipay’s android sdk (payment/security related sdk), baidu map’s android sdk (map related sdk).

I loaded these library by:

implementation fileTree(include: [’*.jar’], dir: ‘libs’)

When I synchonize the project with Android Studio, gradle will try to download these libraries’ sources, which takes a lot of time, and download nothing at final.

So, is there any configurations that I should have a look to prevent gradle to download specific dependencies’ source code?