spring - Gradle task to package a springboot project to ear -
i want package springboot restful webservice project ear file gradle having file structure this:
--meta-inf -application.xml --app.war
please me gradle task achieve this.
gradle provides ear plugin:
apply plugin: 'ear' https://docs.gradle.org/current/userguide/ear_plugin.html
this should package ear.
gradle provides spring-boot plugin:
buildscript {     dependencies {         classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.3.release")     } } apply plugin: 'spring-boot' https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-gradle-plugin.html
which package runnable jar.
Comments
Post a Comment