Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

update build to target oreo and use version 26 of support libs#790

Merged
nahojjjen merged 2 commits intofarkam135:masterfrom
harkin:hl/update-target-version
Oct 16, 2017
Merged

update build to target oreo and use version 26 of support libs#790
nahojjjen merged 2 commits intofarkam135:masterfrom
harkin:hl/update-target-version

Conversation

@harkin
Copy link
Contributor

@harkin harkin commented Oct 14, 2017

No description provided.

compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:preference-v7:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preference-v7 and design are transitive dependencies currently.

com.pavelsikun:material-seekbar-preference uses an old version of preferences and io.apptik.widget:multislider uses an old version of design.

There's an error in Android Studio warning that using support libraries from different versions could lead to crashes. By including them all libraries use the latest versions. I've tested both seekbars and they work properly on my device

@harkin harkin force-pushed the hl/update-target-version branch from 2661dd8 to f649166 Compare October 14, 2017 18:32
@harkin harkin force-pushed the hl/update-target-version branch from f649166 to 8aa8d29 Compare October 14, 2017 18:45
android {
compileSdkVersion 24
compileSdkVersion 26
buildToolsVersion "25.0.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you also update build tools to 26.0.2?

Copy link
Contributor Author

@harkin harkin Oct 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a separate PR for upgrading the build tools here, upgrading the build tools and dependencies is a safe and non controversial action.

I thought moving to target Oreo might be more controversial so I split it out.

Ideally both get merged, but it's not a complete necessity to merge them simultaneously

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the explanation!
I prepared #792 to fix the issues that arise when targeting Oreo.
So this can be merged, and also #789!

@thearaks
Copy link
Collaborator

@nahojjjen as soon as @harkin reviews my comment abount build-tools 26.0.2 could you merge this?
I need it as a base to start a rework of @MARTINI1 's PR #791: it requires support-library v26.
Thanks everyone!

@nahojjjen
Copy link
Collaborator

Hey, thanks for the PR! This pr got into conflict after I merged your other PR, #789, so I used githubs "fix conflict" feature to try and fix it.

It's good that you split up the PRs like this, its just that I feel bad when I make your PRs messier with my merge commits. If you know a better way of doing it, or if I made a mistake, please tell me.

@nahojjjen nahojjjen merged commit 1d7c32c into farkam135:master Oct 16, 2017
@harkin harkin deleted the hl/update-target-version branch October 16, 2017 14:45
@harkin
Copy link
Contributor Author

harkin commented Oct 16, 2017

I find githubs feature is kinda messy. Does github have the option to rebase?

I find rebasing to be the cleanest solution

@nahojjjen
Copy link
Collaborator

Yes, I should have probably rebased, or asked you to rebase. Sorry.

@harkin
Copy link
Contributor Author

harkin commented Oct 16, 2017

no worries!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants