java - Gradle Build path -


i'm trying remove build path folder (src/main/resources) can see en number 1 , 2, , result correct in number 3, when try (refresh gradle project) show again in number 1.

i don know if there problems .classpath or reloading last comfiguration.

i'm using gradle, java 1.7, , sts, etc...

please help. :-)

enter image description here

assuming have java plugin applied in build.gradle try set resources folders empty list:

sourcesets.main.resources.srcdirs = [] 

and refresh project in sts.

and highly recommend use buildship plugin eclipse. offers best gradle integration in eclipse. gradle support in sts not maintained anymore think.


Comments