From 315fa9daa886c709aceb3547353727f1cc1f5672 Mon Sep 17 00:00:00 2001 From: Felix Holz Date: Fri, 9 Feb 2024 00:28:26 +0100 Subject: [PATCH] update sdk verison --- .github/workflows/build_for_android.yml | 4 ++-- android/app/build.gradle | 10 +++++----- test/general/frederic_workout_activities_test.dart | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_for_android.yml b/.github/workflows/build_for_android.yml index 31307cb..2850683 100644 --- a/.github/workflows/build_for_android.yml +++ b/.github/workflows/build_for_android.yml @@ -10,13 +10,13 @@ jobs: build_aab: runs-on: ubuntu-latest - # if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: distribution: 'zulu' - java-version: '11' + java-version: '17' - uses: subosito/flutter-action@v2 with: flutter-version: '3.13.8' diff --git a/android/app/build.gradle b/android/app/build.gradle index 61d17c7..ab95671 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -47,9 +47,9 @@ android { defaultConfig { applicationId "io.hawkford.fredericapp" - minSdkVersion 19 + minSdkVersion 28 multiDexEnabled true - targetSdkVersion 33 + targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName multiDexEnabled true @@ -68,9 +68,9 @@ android { release { signingConfig signingConfigs.release // Enable this to add debug symbols to the application binary -// ndk { -// debugSymbolLevel 'SYMBOL_TABLE' -// } + ndk { + debugSymbolLevel 'SYMBOL_TABLE' + } } } } diff --git a/test/general/frederic_workout_activities_test.dart b/test/general/frederic_workout_activities_test.dart index cb5ff22..9af37d0 100644 --- a/test/general/frederic_workout_activities_test.dart +++ b/test/general/frederic_workout_activities_test.dart @@ -85,10 +85,10 @@ void main() { expect(list.isNotEmpty, true); var activity = list.first; - expect(activity.activity.id, (day + 1).toString()); + expect(activity.activity.id, day.toString()); } - for (int week = 0; week < 100; week++) { + for (int week = 0; week < 40; week++) { for (int day = 0; day < 7; day++) { checkDay(day, week); } @@ -110,7 +110,7 @@ void main() { } else { expect(list.isNotEmpty, true); var activity = list.first; - expect(activity.activity.id, (day + 1).toString()); + expect(activity.activity.id, day.toString()); } }