Gradle custom ear

佐手、 提交于 2019-12-25 03:08:52

问题


I would like to deploy my project with below structure:

--MyPrj.ear
  --APP-INF
    --classes
    --lib
  --META-INF
    --application.xml
    --weblogic-application.xml
  --WEB_MAIN
    --assets
    --WEB-INF
      --conf
      --web.xml
      --weblogic.xml

And here is my ear configuration

ear {
    appDirName 'APP-INF/src'
    libDirName 'APP-INF/lib'

    deploymentDescriptor {
        applicationName = "MyPRJ"
        displayName = "My Project"
        description = "My Project"
    }
}

来源:https://stackoverflow.com/questions/31978589/gradle-custom-ear

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!