Skip to content

refactor!: move SQLite adapter to :rsdroid-android - #766

Merged
BrayanDSO merged 5 commits into
ankidroid:mainfrom
david-allison:java-library-10
Oct 28, 2026
Merged

BrayanDSO merged 5 commits into
ankidroid:mainfrom
david-allison:java-library-10

Conversation

@david-allison

@david-allison david-allison commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Note

Assisted-by: GPT-6.1-Sol xhigh

BREAKING CHANGES (minor)

  • BackendException.toSQLiteException() is now an extension method and must be imported

  • Android SQLite adapter is moved into :rsdroid-android, should not need code changes
    for anki-backend-android consumers

  • Part of Convert rsdroid[-testing] to a java-library #674

Technically a breaking change, just requires an import update for
Kotlin callers.

Assisted-by: GPT-6.1-Sol xhigh
Prep to move to a `java-library`

Add the adapter's build and test dependencies, including the
standard SLF4J 1.7 no-op test binding.

Instrumented tests are redirected to the adapter

Assisted-by: GPT-6.1-Sol xhigh
Assisted-by: GPT-6.1-Sol xhigh
or remove my copyright header for complex cases
BREAKING CHANGES (minor)
* BackendException.toSQLiteException() is now an extension method and must be imported
* Android SQLite adapter is moved into `:rsdroid-android`, should not need code changes
  for `anki-backend-android` consumers

Assisted-by: GPT-6.1-Sol xhigh
@david-allison david-allison changed the title refactor!: move SQLite adapter to :rsdroid-android refactor!: move SQLite adapter to :rsdroid-android Oct 27, 2026

@BrayanDSO BrayanDSO left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great

@BrayanDSO
BrayanDSO added this pull request to the merge queue Oct 28, 2026
@BrayanDSO BrayanDSO added the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Oct 28, 2026
Merged via the queue into ankidroid:main with commit e858e6a Oct 28, 2026
11 checks passed
@david-allison
david-allison deleted the java-library-10 branch October 28, 2026 12:46
@mikehardy mikehardy removed the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Oct 28, 2026
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.

3 participants