Skip to content

Commit 8b7de77

Browse files
authored
Update build.gradle (#329)
Revert changes to agp package.
1 parent d39a44f commit 8b7de77

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

android/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ def getExtOrDefault(name, fallback) {
1616
}
1717

1818
android {
19-
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
20-
// Check AGP version for backward compatibility w/react-native versions still on gradle plugin 6
21-
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
22-
namespace = "kjd.reactnative.android"
23-
}
24-
2519
compileSdkVersion getExtOrDefault('compileSdkVersion', 34)
2620
buildToolsVersion getExtOrDefault('buildToolsVersion', "34.0.0")
2721

0 commit comments

Comments
 (0)