Use this project to publish patches from ADempiere
If you want to add a patch for a adempiere source folder just make the follow:
My example is adding the patch for org.spin.loan_management
.
The file settings.gradle
already have the loan management as folder
include (':' + rootProject.name + '.investment-and-loan')
project (':' + rootProject.name + '.investment-and-loan').projectDir = file('investment-and-loan')
- Add a subfolder named
investment-and-loan
- Add it
api project(':adempiere-customizations.investment-and-loan')
inside mainbuild.gradle
below ofapi project(':adempiere-customizations.base')
- Inside folder add a gradle like the base gradle
base/build.gradle
(you can copy and paste it) - Change the variable value
def packageName = "base"
bydef packageName = "investment-and-loan"
this is the final package name - Add a folder
src/main/java
- Add your patch with package inside folder