remove warnings / deprecated features from build.gradle