Skip to content

Commit 2d86582

Browse files
committed
Add compatibility with AGP 8
1 parent cc510bf commit 2d86582

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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 'com.lazyarts.vikram.cached_video_player'
33+
}
34+
3035
compileSdkVersion 29
3136

3237
defaultConfig {
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.lazyarts.vikram.cached_video_player">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
</manifest>

0 commit comments

Comments
 (0)