简体   繁体   中英

IntelliJ: Automatic creation of ear artifact from gradle project

I'm having a gradle project with the following structure:

Root project 'project-gradle'
 +--- Project 'ejb'
 +--- Project 'ear'
 \--- Project 'war'

The build is working perfectly on command line, I'm using the ear plugin and it is built correctly.

Unfortunately when I import the project to IntelliJ (or open it with the gradle-created intelliJ files), the only available artifact is war. But I need the ear. Any way to get this without manually defining the ear-Artifact inside IntelliJ?

似乎在IDEA中尚未实现自动工件配置

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM