We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7e5e90 commit 01b2bb2Copy full SHA for 01b2bb2
android/build.gradle
@@ -48,6 +48,13 @@ repositories {
48
android {
49
namespace = "com.reactnativemmkv"
50
compileSdkVersion safeExtGet("compileSdkVersion", 28)
51
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
52
+
53
+ if (agpVersion.tokenize('.')[0].toInteger() >= 8) {
54
+ buildFeatures {
55
+ buildConfig = true
56
+ }
57
58
59
// Used to override the NDK path/version on internal CI or by allowing
60
// users to customize the NDK path/version from their root project (e.g. for M1 support)
0 commit comments