To debug DBSM, follow these steps:
-
Clone this repository within the
etendo_coreproject if possible. -
If you followed the recommendation in step 1, configure the path of
etendo_projectwithin gradle.properties as follows:etendo_project=.. -
Inside etendo_core:
a. In
settings.gradle, add:include ":etendo_dbsm"b. In
build.gradle, within the dependencies block, add:dependencies { implementation project(':etendo_dbsm') } -
Follow these debugging steps to set up DBSM for debugging within the
etendo_coreproject.
The following steps describe the process for publishing a new version of DBSM to Github Packages
-
Clone the Repository:
git clone git@github.com:etendosoftware/dbsm.git -
Initialize Git Flow:
git flow init -
Start a Release:
git flow release start $newVersion -
Update Version in build.gradle:
Modify
'VERSION'constant in the build.gradle file with the new version. -
Commit Version Update:
git add build.gradle git commit -m "Update version to $newVersion :zap:" -
Finish Release:
git flow release finish $newVersion -
Create gradle.properties File:
Copy
gradle.properties.templateto a new file namedgradle.properties. Indicate the location of theetendo_coreproject and provide Github credentials. -
Main Branch Checks:
If necessary, on the
mainbranch, ensure that the deployment repository and version are not of snapshot type. -
Build Project for JAR Generation
./gradlew build -
Publish to Github Packages:
./gradlew publish