Skip to content

Commit

Permalink
Add namespace to make it compatible with gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ciriousjoker committed Sep 15, 2023
1 parent cc510bf commit 5662803
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ project.getTasks().withType(JavaCompile){
apply plugin: 'com.android.library'

android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.vikram25897.cached_video_player'
}

compileSdkVersion 29

defaultConfig {
Expand Down

0 comments on commit 5662803

Please sign in to comment.