Skip to content

Fixes #2007 : Update objenesis dep to 3.2#2249

Merged
TimvdLippe merged 2 commits into
mockito:release/3.xfrom
PaulKlauser:bugfix/2007-objenesis-fails-android-instrumentation
Mar 31, 2021
Merged

Fixes #2007 : Update objenesis dep to 3.2#2249
TimvdLippe merged 2 commits into
mockito:release/3.xfrom
PaulKlauser:bugfix/2007-objenesis-fails-android-instrumentation

Conversation

@PaulKlauser

@PaulKlauser PaulKlauser commented Mar 31, 2021

Copy link
Copy Markdown
Contributor

Allows for building android instrumentation tests with minsdk < 26

Checklist

  • Read the contributing guide
  • PR should be motivated, i.e. what does it fix, why, and if relevant how
  • If possible / relevant include an example in the description, that could help all readers
    including project members to get a better picture of the change
  • Avoid other runtime dependencies
  • Meaningful commit history ; intention is important please rebase your commit history so that each
    commit is meaningful and help the people that will explore a change in 2 years
  • The pull request follows coding style
  • Mention Fixes #<issue number> in the description if relevant
  • At least one commit should mention Fixes #<issue number> if relevant

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We will also need to update android.gradle to use the latest version of objenesis again. E.g. we would need to effectively revert #2024 so that both android.gradle and the main project use the same version of objenesis.

@PaulKlauser PaulKlauser force-pushed the bugfix/2007-objenesis-fails-android-instrumentation branch from 34d7eda to e05fdd6 Compare March 31, 2021 15:18

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This LGTM! Just to confirm: have you locally applied these changes and ran your Android tests on SDK <26 and confirmed they are indeed running as expected? I would like to avoid publishing a breaking release once again.

@PaulKlauser

Copy link
Copy Markdown
Contributor Author

Good call, just published the artifacts locally and gave it a go. Everything looks good, building and running tests on API 24!

@TimvdLippe

Copy link
Copy Markdown
Contributor

Great, thanks for the confirmation!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants