-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @gurukumparan/react-native-android-inapp-updates@1.0.21 for the project I'm working on.
plugin maven is removed in gradle 7.x
https://docs.gradle.org/7.0/userguide/upgrading_version_6.html#removal_of_the_legacy_maven_plugin
Here is the diff that solved my problem:
diff --git a/node_modules/@gurukumparan/react-native-android-inapp-updates/android/build.gradle b/node_modules/@gurukumparan/react-native-android-inapp-updates/android/build.gradle
index b04de6c..9c0e97d 100644
--- a/node_modules/@gurukumparan/react-native-android-inapp-updates/android/build.gradle
+++ b/node_modules/@gurukumparan/react-native-android-inapp-updates/android/build.gradle
@@ -20,7 +20,7 @@ def safeExtGet(prop, fallback) {
}
apply plugin: 'com.android.library'
-apply plugin: 'maven'
+apply plugin: 'maven-publish'
buildscript {
// The Android Gradle plugin is only required when opening the android folder stand-alone.This issue body was partially generated by patch-package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels