Skip to content

Commit

Permalink
fix: loosen Android compileSdk and ndkVersions (#377)
Browse files Browse the repository at this point in the history
Fixes #376
  • Loading branch information
GregoryConrad authored Dec 17, 2024
1 parent 1c78e5c commit 2b9048c
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions packages/flutter_mimir/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,8 @@ apply plugin: "com.android.library"
android {
namespace = "com.gsconrad.flutter_mimir"

// Bumping the plugin compileSdk version requires all clients of this plugin
// to bump the version in their app.
compileSdk = 35

// Use the NDK version
// declared in /android/app/build.gradle file of the Flutter project.
// Replace it with a version number if this plugin requires a specific NDK version.
// (e.g. ndkVersion "23.1.7779620")
ndkVersion = android.ndkVersion
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

// Trigger the binary download/update over in CMakeLists.txt
externalNativeBuild {
Expand All @@ -42,11 +35,6 @@ android {
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

defaultConfig {
minSdk = 21
}
Expand Down

0 comments on commit 2b9048c

Please sign in to comment.