-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FINERACT-1981: Embeddable Progressive Loan Schedule generator
- Loading branch information
Showing
41 changed files
with
895 additions
and
436 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
.github/workflows/build-embeddable-progressive-loan-jar.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Fineract Build Progressive Loan Embeddable Jar & Test with a Sample Application | ||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1 | ||
- name: Build Embeddable Jar | ||
run: ./gradlew --no-daemon --console=plain :fineract-progressive-loan-embeddable-schedule-generator:shadowJar | ||
|
||
- name: Build Sample Application | ||
run: | | ||
mkdir sample-app | ||
cp -f fineract-progressive-loan-embeddable-schedule-generator/misc/Main.java sample-app/ | ||
javac -cp fineract-progressive-loan-embeddable-schedule-generator/build/libs/fineract-progressive-loan-embeddable-schedule-generator-1.11.0-SNAPSHOT-all.jar sample-app/Main.java | ||
- name: Run Schedule Generator Sample Application | ||
run: | | ||
java -cp fineract-progressive-loan-embeddable-schedule-generator/build/libs/fineract-progressive-loan-embeddable-schedule-generator-1.11.0-SNAPSHOT-all.jar:sample-app Main | ||
- name: Archive test results | ||
if: always() | ||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | ||
with: | ||
name: test-results | ||
path: | | ||
build/reports/ | ||
fineract-progressive-loan-embeddable-schedule-generator/build/reports/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.