Created
April 23, 2019 11:52
-
-
Save Audhil/bc91df078299324e7f5fc496be227323 to your computer and use it in GitHub Desktop.
clean task -> which prevents ant.props, build.xml, and library.xml from getting deleted on "Clean Project" -> add this in "project_dir/build.gradle"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task clean(type: Delete) { | |
delete fileTree(rootProject.buildDir) { | |
exclude 'ant.properties', 'build.xml', 'library.xml' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment