Removed usage of deprecatade Gradle method