Skip to content

Commit

Permalink
android: fix gradle namespace issue with AGP 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
yosemiteyss committed Nov 1, 2023
1 parent 24f9613 commit bf4f0e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 1.3.1
* Update minimum dart sdk version to 2.19.0.
* Android: update `flutter_plugin_android_lifecycle` to 2.0.17.
* Android: fix gradle namespace issue with AGP 8.

## 1.3.0
* iOS: fix volume slider not shown when pressing physical buttons after `showSystemUI` is reset.
Expand Down
3 changes: 3 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
if (project.android.hasProperty("namespace")) {
namespace 'com.yosemiteyss.flutter_volume_controller'
}
compileSdkVersion 31

compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

0 comments on commit bf4f0e2

Please sign in to comment.