Skip to content

Commit

Permalink
feat: added application modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagarjuna0033 committed Feb 5, 2025
1 parent 69775c8 commit f31a0b6
Show file tree
Hide file tree
Showing 154 changed files with 4,249 additions and 990 deletions.
6 changes: 3 additions & 3 deletions .github/actions/create-release-notes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ runs:
id: version-generator
shell: bash
run: |
mkdir -p ./androidApp/build/outputs/
mkdir -p ./cmp-android/build/outputs/
echo "Previous Release Tag:"
echo "${{ steps.latest-release-tag.outputs.result }}"
echo "Full Changelog:"
CHANGELOG="${{ steps.generate-notes.outputs.result }}"
echo -e "$CHANGELOG"
printf "$CHANGELOG" > ./androidApp/build/outputs/changelogGithub
printf "$CHANGELOG" > ./cmp-android/build/outputs/changelogGithub
echo "Beta Changelog:"
git log --format="* %s" HEAD^..HEAD
git log --format="* %s" HEAD^..HEAD > ./androidApp/build/outputs/changelogBeta
git log --format="* %s" HEAD^..HEAD > ./cmp-android/build/outputs/changelogBeta
6 changes: 3 additions & 3 deletions .github/actions/inflate-secrets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ runs:
- name: Mock debug google-services.json
shell: bash
run: |
cp .github/mock-google-services.json androidApp/google-services.json
cp .github/mock-google-services.json cmp-android/google-services.json
- name: Inflate release_keystore.keystore
shell: bash
env:
KEYSTORE: ${{ inputs.keystore }}
run: |
echo $KEYSTORE | base64 --decode > androidApp/release_keystore.keystore
echo $KEYSTORE | base64 --decode > cmp-android/release_keystore.keystore
- name: Inflate google-services.json
shell: bash
env:
GOOGLE_SERVICES: ${{ inputs.google-services }}
run: |
echo $GOOGLE_SERVICES > androidApp/google-services.json
echo $GOOGLE_SERVICES > cmp-android/google-services.json
- name: Inflate playStorePublishServiceCredentialsFile.json
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master_dev_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
id: dependencyguard_baseline
if: steps.dependencyguard_verify.outcome == 'failure' && github.event_name == 'pull_request'
run: |
./gradlew :mifos-android:dependencyGuard
./gradlew :cmp-android:dependencyGuard
- name: Push new Dependency Guard baselines if available
uses: stefanzweifel/git-auto-commit-action@v5
Expand All @@ -122,7 +122,7 @@ jobs:

- name: Run tests
run: |
./gradlew :mifos-android:testDemoDebug
./gradlew :cmp-android:testDemoDebug
# ./gradlew testDebug :lint:test :androidApp:lintRelease :lint:lint

- name: Upload reports
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
java-version: 17

- name: Build APKs
run: ./gradlew :mifos-android:assembleDemoDebug
run: ./gradlew :cmp-android:assembleDemoDebug

- name: Upload APKs
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release_to_internal_or_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS_PASSWORD }}
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
run: |
./gradlew :androidApp:assembleRelease
./gradlew :cmp-android:assembleRelease
- name: Archive Build
uses: actions/upload-artifact@v4
Expand All @@ -89,8 +89,8 @@ jobs:
draft: false
prerelease: true
files: |
./androidApp/build/outputs/apk/release/androidApp-release.apk
./androidApp/build/outputs/version_code.txt
./cmp-android/build/outputs/apk/release/androidApp-release.apk
./cmp-android/build/outputs/version_code.txt
- name: Print `git status`
run: git status
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
KEYSTORE_ALIAS_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_ALIAS_PASSWORD }}
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
run: |
./gradlew :androidApp:bundleRelease
./gradlew :cmp-android:bundleRelease
- name: Deploy to Play Store Internal
run: bundle exec fastlane android deploy_internal
Expand Down
24 changes: 24 additions & 0 deletions .run/cmp-desktop.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="cmp-desktop" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-DmainClass=MainKt --quiet" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":cmp-desktop:desktopRun" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
24 changes: 24 additions & 0 deletions .run/cmp-web-js.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="cmp-web-js" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":cmp-web:jsBrowserRun" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
24 changes: 24 additions & 0 deletions .run/cmp-web-wasm.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="cmp-web-wasm" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":cmp-web:wasmJsBrowserRun" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
4 changes: 2 additions & 2 deletions .run/mifospay-android.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="androidApp" type="AndroidRunConfigurationType" factoryName="Android App" activateToolWindowBeforeRun="false">
<module name="mobile-wallet.mifospay-android.main" />
<configuration default="false" name="cmp-android" type="AndroidRunConfigurationType" factoryName="Android App" activateToolWindowBeforeRun="false">
<module name="mifos-mobile.cmp-android.main" />
<option name="DEPLOY" value="true" />
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
<option name="DEPLOY_AS_INSTANT" value="false" />
Expand Down
24 changes: 0 additions & 24 deletions .run/mifospay-desktop.run.xml

This file was deleted.

24 changes: 0 additions & 24 deletions .run/mifospay-web-js.run.xml

This file was deleted.

24 changes: 0 additions & 24 deletions .run/mifospay-web-wasm.run.xml

This file was deleted.

115 changes: 0 additions & 115 deletions androidApp/src/main/kotlin/org/mifos/mobile/HomeActivity.kt

This file was deleted.

Loading

0 comments on commit f31a0b6

Please sign in to comment.