Helps you generate ejb-client jar to be used as provided dependency JavaEE client apps. Any classes inside .api. package will be added to EJB client jar.
Classes to be packaged:
**/api/*.* **/api/**/*.*
simply update your build.gradle
echo 'apply from: "https://raw.githubusercontent.com/daggerok/ejb-client-gradle-plugin/master/build.gradle"' >> build.gradle
gradle clean build
ls -lah build/libs
If you wont download plugin over and over, just commit it into your repo
download
wget -O ejb-client-plugin.gradle https://raw.githubusercontent.com/daggerok/ejb-client-gradle-plugin/master/build.gradle
echo 'apply from: "ejb-client-plugin.gradle"'>> build.gradle
gradle clean build
ls -lah build/libs