Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Added the namespace property in build.gradle if the field is necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoedomingos committed Jun 24, 2023
1 parent f1c9fc4 commit 5ae3b92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jni/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
// Condition for namespace compatibility in AGP 8
if (project.android.hasProperty("namespace")) {
namespace 'com.github.dart_lang.jni'
}

// Bumping the plugin compileSdkVersion requires all clients of this plugin
// to bump the version in their app.
compileSdkVersion 31
Expand Down

0 comments on commit 5ae3b92

Please sign in to comment.