Correctly ignore Gradle and IDE artifacts