[Interest] How to manage build.gradle content?

Nelson, Michael michael.nelson at otthydromet.com
Fri May 31 19:27:47 CEST 2019


I wanted to prompt user to enable location services if needed, so I followed the example here.<https://developer.android.com/training/location/change-location-settings#get-settings>

To successfully build, I needed to add the following to my build.gradle file:
implementation 'com.google.android.gms:play-services-location:16.0.0'

However, the build.gradle file is in the build directory, created on qmake, and I don't always keep this build directory around. So, how do I ensure the build.gradle file has the required line following every qmake? Or, am I approaching this problem of dependencies incorrectly?

Thanks,
Mike


Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190531/aeee5330/attachment.html>


More information about the Interest mailing list