Skip to content

Commit

Permalink
Build Android app
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Jan 31, 2024
1 parent 9a5c40b commit 4b847ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ jobs:
with:
runCmd: >
cd DotNet &&
dotnet publish
dotnet publish &&
cd .. &&
cd Native &&
./gradlew assembleRelease
11 changes: 11 additions & 0 deletions Native/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,21 @@ android {
}
}

// Just use the built-in debug keystore
signingConfigs {
release {
storeFile file("${System.getProperty('user.home')}/.android/debug.keystore")
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand Down

0 comments on commit 4b847ab

Please sign in to comment.