Skip to content

Commit

Permalink
Update to Android API level 35
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp committed Jun 29, 2024
1 parent 847b26b commit 8ed4693
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- name: Build release APK
run: |
./gradlew assembleRelease
$ANDROID_SDK_ROOT/build-tools/34.0.0/zipalign -v -p 4 app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
$ANDROID_SDK_ROOT/build-tools/35.0.0/zipalign -v -p 4 app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > keystore.jks
echo "${{ secrets.KEYSTORE_PASSWORD }}" | $ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner sign --ks keystore.jks --out app-release.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
$ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner verify app-release.apk
echo "${{ secrets.KEYSTORE_PASSWORD }}" | $ANDROID_SDK_ROOT/build-tools/35.0.0/apksigner sign --ks keystore.jks --out app-release.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk
$ANDROID_SDK_ROOT/build-tools/35.0.0/apksigner verify app-release.apk
- name: Parse tag
id: parse_tag
run: "echo ${{ github.ref }} | sed 's#^refs/tags/#::set-output name=version::#'"
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ plugins {

android {
namespace = "be.chvp.nanoledger"
compileSdk = 34
compileSdk = 35

defaultConfig {
applicationId = "be.chvp.nanoledger"
minSdk = 21
targetSdk = 34
targetSdk = 35
versionCode = 40200
versionName = "0.4.1"

Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nanoledger android app";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:chvp/nixpkgs/bump-androidenv";
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -13,10 +13,10 @@
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; config = { android_sdk.accept_license = true; allowUnfree = true; }; overlays = [ devshell.overlays.default ]; };
buildToolsVersion = "34.0.0";
buildToolsVersion = "35.0.0";
composed = pkgs.androidenv.composeAndroidPackages {
buildToolsVersions = [ buildToolsVersion ];
platformVersions = [ "33" "34" ];
buildToolsVersions = [ "34.0.0" buildToolsVersion ];
platformVersions = [ "34" "35" ];
};
fhsEnv = pkgs.buildFHSUserEnv {
name = "android-sdk-env";
Expand Down

0 comments on commit 8ed4693

Please sign in to comment.