How to stop IntelliJ IDEA from creating new web facets per gradle *war task -


currently, when importing gradle build script if there several war tasks defined intellij idea create web facets each of them (and stuff goes web facets - roots in "web" panel , artifacts).

so, following sample build script:

apply plugin: 'java' apply plugin: 'war'  task secondwar(type: war) {   basename = 'second-war' }   

will result in 2 web facets (one 'default' war task , "customized" one):

two facets

we have several "utility" war tasks in our projects, 1 being "real" one, , multiple facets , web roots confusing.

is there way stop idea creating web facet specific war task?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -