update build.gradle to generate proper jars