Skip to content

Commit

Permalink
fix(android): enable buildFeatures.buildConfig for android gradle plu…
Browse files Browse the repository at this point in the history
…gin 8+ (#455)
  • Loading branch information
mikehardy authored Nov 10, 2023
1 parent b086b0e commit c391781
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.th3rdwave.safeareacontext"
buildFeatures {
buildConfig true
}
}

compileSdkVersion getExtOrDefault('compileSdkVersion', 30)
Expand Down

0 comments on commit c391781

Please sign in to comment.