Init type java-library resource folders support

when i use init type java-library

this task do not make resource folder

so i use like a

sourceSets*.resources.srcDirs*.each { it.mkdirs() }

but java_plugin page saying default project layout also include resource folders http://gradle.org/docs/current/userguide/java_plugin.html

so i’m confused ^^;

The Java plugin looks for resources in src/*/resources, but it doesn’t need those directories to exist to work.

The build init plugin doesn’t create those directories right now because it only has templates for the Java main and test sources. So, it’s not like that for any reason other than we haven’t gotten around to making it better.

thanks