Adding a library to .classpath file in Eclipse

Isn’t it good enough to declare the lib entry in the Gradle classpath container? There are a few examples of how to do it here.