Skip to content
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

Provides documentation on how to self-built Android-Support-Preference-V7-Fix whenever Google releases new support library #78

Open
yccheok opened this issue May 13, 2017 · 3 comments
Labels

Comments

@yccheok
Copy link

yccheok commented May 13, 2017

Thank you very much, for keep updating this library, to keep it in sync with Google new support library.

However, time-to-time, Google will keep releasing new support library in fast pace.

Instead of waiting the owner of Android-Support-Preference-V7-Fix, to update Android-Support-Preference-V7-Fix .

Is there any way we can DIY ourselves, for us to make this library in sysnc with Google new support library?

I saw whenever there is new release, the owner makes the following changes 955a03b

Is there any way we can do this by our own, and compile against our own project?

@gregkorossy
Copy link
Owner

If you clone the repo, you can change the value of project.ext.supportLibraryVersion in build.gradle to the new version of the support lib whenever you want. On major version upgrades (like from 25 to 26) you will have to change both buildToolsVersion and sdkVersion to an appropriate value.

I usually try to update the maven repo the day the new support lib is available (sometimes even faster 😄), so the current update path shouldn't be a problem really.

@Mygod
Copy link
Contributor

Mygod commented May 13, 2017

You can include dependency of Android support lib manually. The later version will override this project's settings.

@yccheok
Copy link
Author

yccheok commented May 13, 2017

@Gericop If I clone the project and change it myself, that's mean I will include the project as library source project. I can no longer include it by using build.gradle right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants