On Fri, Nov 11, 2022 at 8:16 PM Tatu Saloranta <t...@fasterxml.com> wrote:
>
> Ok, so. Jackson-databind works on Android, requiring a certain minimum
> Android SDK version. But we:
>
> 1. Don't necessarily know exactly which SDK version for given Jackson version
> 2. Cannot guarantee that there are no changes that change (increase)
> minimum needed for patches
> 3. Do not properly plan on increasing minimum SDK requirement (unlike
> with JDK itself)
>
> But I think that it should be possible to build something with Github
> CI actions that could test (1) so we could do (2) and (3).
> This could be something like Retrofit (http client) does with:
>
> https://github.com/square/retrofit/tree/master/retrofit/android-test
>
> which is, I think, to have a simple Android test project specifically
> meant for quick testing that things work against specific Jackson
> version with defined Android SDK level(s).
>
> Unfortunately I do not develop on Android platform and don't quite
> know how to do this.
>
> But I am guessing someone on this mailing lists might have more
> experience and could perhaps help? It would be great to better support
> Android developers and avoid issues like:
>
> https://github.com/FasterXML/jackson-databind/issues/3412
> https://github.com/FasterXML/jackson-databind/issues/3658
>
> wherein basic SDK was unintentionally increased.
>
> -+ Tatu +-

I was able to add CI-integrated Android SDK compatibility test for
`jackson-databind` so we have that covered.
But I will also need to port same thing to `jackson-core`, as well as
update READMEs with observed compatibility
information.

You can see compatibility checking as a new Github Action stage
"Verify Android SDK Compatibility" in default build job (main.yaml),
if interested, f.ex:

https://github.com/FasterXML/jackson-databind/actions/runs/3485040925/jobs/5830206486

-+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jackson-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-dev/CAL4a10gGPVw_nLo4_dW1XFyxzKJnVj4bRG6t92%3D70nbAmwkQqg%40mail.gmail.com.

Reply via email to