Skip to content

Commit 5662803

Browse files
committed
Add namespace to make it compatible with gradle 8
1 parent cc510bf commit 5662803

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ project.getTasks().withType(JavaCompile){
2727
apply plugin: 'com.android.library'
2828

2929
android {
30+
// Conditional for compatibility with AGP <4.2.
31+
if (project.android.hasProperty("namespace")) {
32+
namespace 'io.flutter.plugins.vikram25897.cached_video_player'
33+
}
34+
3035
compileSdkVersion 29
3136

3237
defaultConfig {

0 commit comments

Comments
 (0)