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

Added the namespace property in build.gradle if the field is necessary. #306

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading