[Java]: added info for maven pom into gradle build.