Final android x migration - #9977
Conversation
Generated by 🚫 dangerJS |
|
@malinajirka do you have a source for this?
Perhaps there is an issue with the Kotlin plugin, but this warning was also being generated by the Bintray plugin used by the Did you try Bintray plugin |
Build tools it's the source -> Full Message
Yes, as I mentioned it prints just the first encounter with the obsolete api. In this case the first encounter was in the kotlin plugin.
Yes, I did and it didn't help. Imho we shouldn't spent time looking into it until we upgrade gradle to v6. We might have much fewer issues as most of the libraries will be updated by then. |
|
Lint is failing on some false positives. I'll continue looking into it tomorrow. |
|
This PR is finally ready for review! ;) There are several open PRs in which authors will need to manually resolve conflicts, but I think we'll never be in a state with no open PRs or working branches. I think at least two developers should review this PR before we merge it. Wdyt? |
Sounds good to me! I'll try to get my review done quickly. |
|
@malinajirka The build is failing for me with this: This happens with both the release and debug build variants. |
|
Have you updated your |
🤦♂ Sorry, @malinajirka - that was, of course, the problem. Builds fine now. |
|
@malinajirka I ran through all the primary features and everything works just fine. I know we want another reviewer still, but this gets a 👍 from me. |
|
Glad to hear that! Thank you so much for the review @nbradbury 🥇!! |
Ah, that's a shame. The Gradle warnings are pretty annoying IMO when building from the IDE, which is why it made sense to avoid updating the Gradle plugin until it was needed. Agreed that it's not enough of a concern if it's required for AndroidX support though. And, yes, hopefully by the time it's actually removed these libraries have sorted things out. 🤞 It would be nice if we could tell Gradle not to bother with the Bintray import when building those two libraries as subprojects since it's not relevant - but I'm not sure if there's a way to do that. May be worth looking into if the warnings get on our nerves and Bintray is the last cause of a warning. |
|
Gave this a look over:
One problem though, I can't seem to get the e2e tests to run ( Still looking things over but though I'd report the e2e issue and my partial 👍 |
|
I'm also seeing |
|
@malinajirka yep the fixes in 7973e84 were needed - with those and the latest |
Fixes #9923
This PRs migrates SupportLibrary -> AndroidX.
support.RThe new build tools version introduced a couple of new build warnings
WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019.WARNING: API 'variantOutput.getProcessManifest()' is obsolete and has been replaced with 'variantOutput.getProcessManifestProvider()'. It will be removed at the end of 2019. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.It will be removed at the end of 2019.SentryPluginas the stacktraces containio.sentry.android.gradle.SentryPlugin$_apply_closure2$_closure3$_closure4.doCall(SentryPlugin.groovy:153). andio.sentry.android.gradle.SentryPlugin.getDebugMetaPropPath(SentryPlugin.groovy:136). However, it doesn't mean the other libraries don't use them. It just means these methods were first used by Sentry.I think we don't need to worry about any of them for now. These are just warnings that the libs use obsolete gradle methods. I believe we'll update the libs before we update gradle build tools to v6 anyway. Wdyt?
To test:
Update release notes:
Note:
You need to manually update gradle.properties (see gradle.properties-example)