Exclude file from resource in Gradle

Posted Almost 11 years ago. Visible to the public.

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 17:43)