Skip to content

Commit

Permalink
Fix signing configuration and change target/source compat to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwoolley committed Aug 5, 2023
1 parent 7ba8986 commit e112ca4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_sign.yml
@@ -1,4 +1,4 @@
name: Android CI
name: Build Signed Release

on:
push:
Expand Down
16 changes: 8 additions & 8 deletions build.gradle
Expand Up @@ -80,25 +80,25 @@ android {
}

compileOptions {
sourceCompatibility = 17
targetCompatibility = 17
sourceCompatibility = 18
targetCompatibility = 18
}

signingConfigs {
if (project.hasProperty('RELEASE_STORE_FILE')) {
if (System.getenv('RELEASE_STORE_FILE') != null) {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
storeFile file(System.getenv("RELEASE_STORE_FILE"))
storePassword System.getenv("RELEASE_STORE_PASSWORD")
keyAlias System.getenv("RELEASE_KEY_ALIAS")
keyPassword System.getenv("RELEASE_KEY_PASSWORD")
}
}
}

buildTypes {
release {
buildConfigField "boolean", "ALWAYS_UPGRADE", "false"
if (project.hasProperty('RELEASE_STORE_FILE')) {
if (System.getenv('RELEASE_STORE_FILE') != null) {
signingConfig signingConfigs.release
}
}
Expand Down
Binary file removed signing.tar.enc
Binary file not shown.

0 comments on commit e112ca4

Please sign in to comment.