Include gradle-maven-push only when props are set#2727
Include gradle-maven-push only when props are set#2727alvelig merged 1 commit intoreact-native-maps:masterfrom
Conversation
The gradle-maven-push.gradle script is only needed when publishing artifacts to a maven repository. This fixes a build error seen in app projects if the properties are not set.
|
@friederbluemle Thanks for fixing this so quickly. I can confirm that I don't have that issue when building anymore. However, I can confirm I get the error
I can also confirm that when building and running the app using the version of Please let me know if there's anything I can do to help solving this issue. |
|
Thanks so much for the additional testing @grifotv 👍 - I'm looking into it now! |
|
As React Native Thanks for all the hard work @friederbluemle ! |
|
@grifotv - Can you please provide some additional info on the project you're trying to build? |
|
@friederbluemle Exactly, my setup is using But if I use this version 4978696d9c904bfbd3213a910b410830be558f8d would be the commit prior to your initial PR. |
|
I just tried again, using the latest pre-release ( Did you use |
|
After noticing that even the version of the previous commit ( After that, I tested again the latest from @friederbluemle thanks for taking the time to look into it anyway 👍 |
…dle-build Include gradle-maven-push only when props are set

This fixes a build error seen in app projects if the properties are not set.
I missed to include this in #2720
The gradle-maven-push.gradle script is only needed when publishing artifacts to a maven repository. It is not needed for apps consuming the library (and should not be included).
Does any other open PR do the same thing?
No
What issue is this PR fixing?
Issue reported by @grifotv in #2720
How did you test this PR?
react-native initand followreact-native-mapsintegration stepspackage.json:"react-native-maps": "^0.23.0""react-native-maps": "react-native-community/react-native-maps""react-native-maps": "friederbluemle/react-native-maps#fix-gradle-build"