gradle clean publishToMavenLocal
deployConfigs {
springAppClass = 'com.springdemo.Application' // Spring Starter Class
}
Add this task into build.gradle. !!! Note - This will move to plugin. then End-User don't need to add this !!!
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.runtimeClasspath
}
}
gradle -i clean deploy