Posted over 9 years ago. Visible to the public.

Exclude file from resource in Gradle

If you want to exclude one file from resource, you may use this snippet:

sourceSets {
	main {
		resources {
			exclude '**/*.bak'
		}
	}	
}
Posted by leonidv to Leonid's cards (2013-06-15 19:43)