Removed unused build.gradle section and fixed warning about dynamic properties.