Skip to content

Commit acb1a17

Browse files
authored
Finish release/v2.1.0
Release v2.1.0
2 parents c2905e6 + 7193432 commit acb1a17

165 files changed

Lines changed: 14342 additions & 10283 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
# tags:
8+
# - '!v*'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Setup JDK 1.8
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 1.8
21+
22+
- name: Environment info
23+
run: |
24+
gradle --version
25+
26+
- name: build
27+
run: |
28+
./gradlew assembleDebug --stacktrace
29+
30+
- name: Environment info
31+
run: |
32+
gradle --version
33+
34+
- uses: actions/upload-artifact@v2
35+
with:
36+
name: openimis-policies-apk-${{github.run_number}}-${{github.sha}}
37+
path: ./app/build/outputs/**/*.apk
38+
39+
- name: build
40+
run: |
41+
./gradlew bundleDebug --stacktrace
42+
43+
- name: Environment info
44+
run: |
45+
gradle --version
46+
47+
- uses: actions/upload-artifact@v2
48+
with:
49+
name: openimis-policies-aab-${{github.run_number}}-${{github.sha}}
50+
path: ./app/build/outputs/**/*.aab
51+
52+

.github/workflows/manual.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,31 @@ jobs:
3737
uses: actions/setup-java@v1
3838
with:
3939
java-version: 1.8
40+
41+
- uses: actions/cache@v2
42+
with:
43+
path: |
44+
~/.gradle/caches
45+
~/.gradle/wrapper
46+
key: ${{ runner.os }}-${{ github.event.inputs.application_id }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
47+
48+
- uses: actions/cache@v2
49+
with:
50+
path: |
51+
~/.android
52+
key: ${{ runner.os }}-${{ github.event.inputs.application_id }}
4053

4154
- name: Environment info
4255
run: |
4356
gradle --version
4457
echo url ${{ github.event.inputs.api_base_url }}
4558
echo app name ${{ github.event.inputs.app_name }}
4659
60+
echo app dir ${{ github.event.inputs.app_dir }}
61+
echo CLI_JAVA_DIR "${{ github.event.inputs.cli_java_dir }}"
62+
echo CLI_RES_DIR "${{ github.event.inputs.cli_res_dir }}"
63+
echo APPLICATION_ID "${{ github.event.inputs.application_id }}"
64+
4765
- name: build
4866
run: |
4967
./gradlew assembleCliDebug --stacktrace

.gitignore

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,7 @@ captures/
3535

3636
# IntelliJ
3737
*.iml
38-
.idea/workspace.xml
39-
.idea/tasks.xml
40-
.idea/gradle.xml
41-
.idea/assetWizardSettings.xml
42-
.idea/dictionaries
43-
.idea/libraries
44-
.idea/caches
45-
.idea/sonarlint
38+
.idea/
4639

4740
# Keystore files
4841
# Uncomment the following line if you do not want to check your keystore files in.
@@ -66,3 +59,10 @@ fastlane/Preview.html
6659
fastlane/screenshots
6760
fastlane/test_output
6861
fastlane/readme.md
62+
63+
app/release/output.json
64+
**/.DS_Store
65+
66+
# Custom product flavours
67+
68+
*custom-flavours.gradle

.idea/codeStyles/Project.xml

Lines changed: 0 additions & 116 deletions
This file was deleted.

.idea/encodings.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.idea/runConfigurations.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ demoProd {
3939
buildConfigField "String", "API_BASE_URL", '"http://demo.openimis.org/rest/"'
4040
buildConfigField "String", "RAR_PASSWORD", '")(#$1HsD"'
4141
buildConfigField "boolean", "SHOW_CONTROL_NUMBER_MENU", 'false'
42-
resValue "string", "app_name", "Policies Demo"
42+
resValue "string", "app_name_policies", "Policies Demo"
4343
dimension = 'std'
4444
}
4545
```
@@ -50,7 +50,7 @@ Parameters:
5050
* ```API_BASE_URL``` represents the openIMIS REST API URL (based on DNS or IP address) to connect to.
5151
* ```RAR_PASSWORD``` represents the password to be used for the offline extract.
5252
* ```SHOW_CONTROL_NUMBER_MENU``` allow to show or hide the Control Number menu item in case the implementation does not implement the ePayment module.
53-
* ```app_name``` is a resource string allowing to change the name of the application.
53+
* ```app_name_policies``` is a resource string allowing to change the name of the application.
5454

5555
Escape procedures can be configured and language resource files can be changed. Please follow the ```sourceSets``` record. Look in ```app\src\demo``` folder for an example.
5656

0 commit comments

Comments
 (0)