Skip to content

Commit 4e3c666

Browse files
Merge pull request #321 from DattatreyaReddy/android-fix
Android-fix
2 parents e9af7d7 + 1830bbd commit 4e3c666

File tree

6 files changed

+19
-12
lines changed

6 files changed

+19
-12
lines changed

.sdkmanrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=17.0.13-zulu

android/app/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ if (keystorePropertiesFile.exists()) {
2929
}
3030

3131
android {
32-
compileSdkVersion 33 // flutter.compileSdkVersion
33-
ndkVersion flutter.ndkVersion
34-
32+
compileSdkVersion 34 // flutter.compileSdkVersion
33+
ndkVersion "27.0.12077973"
34+
namespace "com.suwayomi.tachidesk_sorayomi"
3535
compileOptions {
36-
sourceCompatibility JavaVersion.VERSION_1_8
37-
targetCompatibility JavaVersion.VERSION_1_8
36+
sourceCompatibility JavaVersion.VERSION_17
37+
targetCompatibility JavaVersion.VERSION_17
3838
}
3939

4040
kotlinOptions {

android/gradle/wrapper/gradle-wrapper.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
36
zipStoreBase=GRADLE_USER_HOME
47
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip

android/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "7.3.0" apply false
22+
id "com.android.application" version "8.8.0" apply false
2323
id "org.jetbrains.kotlin.android" version "2.1.10" apply false
2424
id "com.google.gms.google-services" version "4.4.0" apply false
2525
id "com.google.firebase.crashlytics" version "2.9.9" apply false

pubspec.lock

+5-4
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,11 @@ packages:
382382
flutter_android_volume_keydown:
383383
dependency: "direct main"
384384
description:
385-
name: flutter_android_volume_keydown
386-
sha256: bf7fed0be85541b939d9deb97b375cb12e6e703aa013754441318b0b9014e711
387-
url: "https://pub.dev"
388-
source: hosted
385+
path: "."
386+
ref: HEAD
387+
resolved-ref: "9db2306fd2b4f804f5b9fbf69b97b211f47f527c"
388+
url: "https://github.com/DattatreyaReddy/flutter_android_volume_keydown"
389+
source: git
389390
version: "1.0.1"
390391
flutter_cache_manager:
391392
dependency: "direct main"

pubspec.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ dependencies:
1717
flex_color_scheme: ^8.0.0
1818
flutter:
1919
sdk: flutter
20-
flutter_android_volume_keydown: ^1.0.0
20+
flutter_android_volume_keydown:
21+
git: https://github.com/DattatreyaReddy/flutter_android_volume_keydown
2122
flutter_cache_manager: ^3.3.0
2223
flutter_hooks: ^0.20.0
2324
flutter_localizations:

0 commit comments

Comments
 (0)