I have made wtp eclipse project with gradle. When I run 'gradle eclipse', it makes eclipse project but there is not one file '.settings/org.eclipse.core.resources.prefs'
That file has infomation for project charset
eclipse.preferences.version=1
encoding/<project>=utf-8
And here is my gradle eclipse plugin setting.
eclipse {
classpath {
downloadSources=true
}
jdt {
file {
withProperties {
properties -> properties.setProperty("encoding//src/main/java", "utf-8")
properties.setProperty("encoding//src/main/resources", "utf-8")
properties.setProperty("encoding//src/test/java", "utf-8")
properties.setProperty("encoding//src/test/resources", "utf-8")
}
}
}
wtp {
component {
contextPath = '/'
}
facet {
facets = facets
//facet name: 'jst.web', version: '2.5'
facet name: 'jst.java', version: '6.0'
}
}
project {
natures 'com.google.gwt.eclipse.core.gwtNature'
natures 'org.springframework.ide.eclipse.core.springnature'
buildCommand 'org.springframework.ide.eclipse.core.springbuilder'
}
}
How can I make this file?
Please help.
Thanks.