updated build.gradle for libraries