Fixed Maven and Gradle dependency declarations