New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Salesforce SDK not compiling for version 11.1.0 due to plugin error. #2512
Comments
@adriduttaheb - Thanks for your post and I'll see if I can provide more insight. If the Gradle workspace for the app is still using In 11.1, the Gradle workspace for Salesforce Mobile SDK was upgraded. To build the libraries from source in an app's Gradle workspace, a Gradle composite build should be used. That uses Gradle's That said, if you can build the app with the changes you listed above I suspect all is well. Read on though, since I also have another idea for your app 👇🏻 Unless your app includes some local changes to the Salesforce Mobile SDK library sources, there's another new option that might really speed up your builds. The Salesforce Mobile SDK libraries are hosted, pre-compiled, in Maven Central. You can switch to those by removing the Let me know if all this helps and if you have questions I can answer. |
Yes, we had to modify the sdk for our needs, so we can't get the precompiled version, but thank you for the quick response! |
Could you try again with Mobile SDK 12.0 that was just released? |
Closing - please re-open if Eric's recommendation earlier was not helpful. |
Please fill out the following details:
android-library
In the SalesforceMobileSDK-Android/libs folder, most of the library gradle files have these plugins, which caused the above error
I changed them to the below syntax in our modified sdk and it started working correctly. However, "publish-module" wasn't able to be found, so I removed it, and it still seemed to work. I was wondering what purpose was of publish-module and if it can have any side effects.
The text was updated successfully, but these errors were encountered: