update build.gradle for correct doc generation