I’ve this build.gradle file portion:
eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
//customizing the classes output directory:
defaultOutputDir = file('build-eclipse')
//minusConfigurations += [ configurations.querydsl ]
}
jdt {
sourceCompatibility = 1.8
targetCompatibility = 1.8
//javaRuntimeName = "J2SE-1.8"
}
wtp {
facet {
//you can add some extra wtp facets; mandatory keys: 'name', 'version':
facet name: 'java', version: '1.8'
facet name: 'jst.web', version: '3.1'
}
}
}
As you guess, I’m trying to add two facet on my project. However, only the first one is added.
Any ideas?