-
-
Notifications
You must be signed in to change notification settings - Fork 197
fix: update plugin gradle script #5578
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
Conversation
no more android support, use androidx
Would that be considered a BREAKING CHANGE?
Do we still support old versions without androidx?
I'm not sure - some plugins may still use it?
Seems unlikely. And anyway they can deps on their include.gradle.
Honestly we should remove them, plus they end up in the .dat metadata...
👍 - just don't want to break things by accident in a patch release
@rigor789 i think it should got with android runtime 8.2.0 as we move to gradle 7. But i understand your point
can still be enabled with `generateBuildConfig` and `generateR`
All support packages would be jetpacked (if you wanna call it that) .. this looks good for 8.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@farfromrefug @triniwiz if you could help clear up questions I posted in the review, that would help a ton with landing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we bump kotlinVersion without too much testing, or is 1.4.21 safer for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change the default compileSdk
from 28 to 30 (or perhaps newer)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change targetSdk
to 30 or newer? Believe 30 is minimum from google right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With 8.2 - should we default to build tools 32?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to set the target to 1.8 with gradle7+? Officially recommended jdk is 11, so this might need to match that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should be able to use more but was not tested https://kotlinlang.org/docs/faq.html#which-versions-of-jvm-does-kotlin-target
let s make it an ext property so we can test easily?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as jvmTarget
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use 1.7.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about 1.7.0. Maybe 1.6.0
This updates the plugin gradle script: