Skip to content

Commit

Permalink
RDART-874: Conditional for compatibility with AGP <4.2. (#1524)
Browse files Browse the repository at this point in the history
  • Loading branch information
gokuzhan authored Mar 7, 2024
1 parent 26e7b30 commit eca576b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/realm/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 AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.realm'
}

compileSdkVersion 28

defaultConfig {
Expand Down

0 comments on commit eca576b

Please sign in to comment.