Fixed Gradle build script for jar libs