Skip to content

Commit

Permalink
```text
Browse files Browse the repository at this point in the history
chore: Update Android build workflow to use Gradle wrapper

Refactor the Android build workflow to use the Gradle wrapper for building the Android project. This ensures consistent and reproducible builds across different environments.
  • Loading branch information
alevilar committed Sep 4, 2024
1 parent c18ed13 commit 117963c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Build with Buildozer
id: buildozer
run: |
yes | buildozer android debug -v
yes | buildozer android debug -v --log_level 2
# Upload artifacts
- name: Upload APK artifact
Expand Down
6 changes: 3 additions & 3 deletions buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package.name = fiscalberry
package.domain = fiscalberry.paxapos.com

# (str) Source code where the main.py live
source.dir = ./src
source.dir = src

# (list) Source files to include (let empty to include all the files)
#source.include_exts = py,png,jpg,kv,atlas
Expand Down Expand Up @@ -97,10 +97,10 @@ android.presplash_color = purple
# (list) Permissions
# (See https://python-for-android.readthedocs.io/en/latest/buildoptions/#build-options-1 for all the supported syntaxes and properties)
#android.permissions = android.permission.INTERNET, (name=android.permission.WRITE_EXTERNAL_STORAGE;maxSdkVersion=18)
android.permissions = android.permission.INTERNET, android.permission.ACCESS_NETWORK_STATE, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.READ_EXTERNAL_STORAGE, android.permission.FOREGROUND_SERVICE
android.permissions = android.permission.INTERNET, android.permission.FOREGROUND_SERVICE

# (list) features (adds uses-feature -tags to manifest)
android.features = android.hardware.usb.host
#android.features = android.hardware.usb.host

# (int) Target Android API, should be as high as possible.
android.api = 33
Expand Down

0 comments on commit 117963c

Please sign in to comment.