Add new resource folder in Gradle

Posted over 9 years ago. Visible to the public. Linked content.

If you want to add new resource folder to Gradle build, use this snippet:

sourceSets {
	main {
		resources {
			srcDir 'src/main/java'	

.java (.groovy and *scala) file will be skipped on build from resources.

Posted by leonidv to Leonid's cards (2013-06-15 19:40)