Skip to content

Commit

Permalink
Plugins: make compatible with Android Plugin 8.
Browse files Browse the repository at this point in the history
Requires namespace property. Taken from latest Flutter plugin template.
  • Loading branch information
greenrobot-team committed Dec 5, 2023
1 parent df3feed commit e4a5930
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
if (project.android.hasProperty("namespace")) {
namespace 'io.objectbox.objectbox_flutter_libs'
}

compileSdkVersion 31

compileOptions {
Expand Down
4 changes: 4 additions & 0 deletions sync_flutter_libs/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
if (project.android.hasProperty("namespace")) {
namespace 'io.objectbox.objectbox_sync_flutter_libs'
}

compileSdkVersion 31

compileOptions {
Expand Down

0 comments on commit e4a5930

Please sign in to comment.