Skip to content

Commit

Permalink
Merge pull request #9 from kishormainali/master
Browse files Browse the repository at this point in the history
fix: added namespace property to make compatible with gradle 8.0
  • Loading branch information
javaherisaber authored Sep 23, 2023
2 parents 3a1b70a + 4e5d21b commit aa7a920
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {

// conditional for compatibility with older gradle versions
if (project.android.hasProperty('namespace')) {
namespace "com.crazecoder.openfile"
}

compileSdkVersion 33

defaultConfig {
Expand All @@ -32,6 +38,6 @@ android {
disable 'InvalidPackage'
}
}
dependencies{
dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
}

0 comments on commit aa7a920

Please sign in to comment.