How to make sure "fileTree" loads dependency successfully?

Hello,

I’m new to Gradle. Just wonder how to make sure my jars were loaded successfully if I use the following line:
implementation fileTree(dir: ‘libs’, include: [’.jar’])