Repository navigation
build!: convert :rsdroid to a java-library: anki-backend-core - #770
Merged
Merged
Conversation
`buildRust` is registered on the root project and used the modules. `processResources` now depends on it to ensure the native libraries exist before they are packaged. Assisted-by: GPT-6.1-Sol xhigh
The `generateBuildConfig` task is now registered with an explicit output directory. Assisted-by: GPT-6.1-Sol xhigh
BREAKING CHANGE: anki-android-backend is now a JAR instead of an AAR. Android consumers continue to use anki-backend-android, which depends on the core JAR. Replaces the Android library with a `java-library` (Java 11). Wire Kotlin API + Protobuf sources into the compilation + JAR. BuildConfig from the previous commit is reused. Javadocs are published, but empty. Fixes 674 Assisted-by: GPT-6.1-Sol xhigh
BREAKING CHANGE: JVM consumers must replace `anki-android-backend` with `anki-backend-core`. Android consumers may still use `anki-backend-android`. Assisted-by: GPT-6.1-Sol xhigh
First release of the anki-backend-core `java-library`. BREAKING CHANGE: * `anki-backend-core` replaces `anki-android-backend` as the backend API artifact, and is now a `java-library`. * AnkiDroid needs to update references in `BackendDependencies.kt` No impact to Android applications depending on `anki-backend-android` Assisted-by: GPT-6.1-Sol xhigh
david-allison
force-pushed
the
java-library-12
branch
from
October 28, 2026 19:04
fce6991 to
ec7055c
Compare
david-allison
marked this pull request as ready for review
October 28, 2026 19:04
This comment was marked as resolved.
This comment was marked as resolved.
criticalAY
approved these changes
Oct 29, 2026
criticalAY
left a comment
There was a problem hiding this comment.
Cool! not blocking but core module is no longer linted maybe follow-up
Member
Author
Please add an issue - we're also not publishing javadocs yet. I'd rather get this in ASAP as CI is straining and this allows all AnkiDroid contributors to have a lot of fun with the changes to speed up our test infra. |
|
Sure then nothing blocking, approval still stands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rsdroid[-testing]to ajava-library#674Note
Assisted-by: GPT-6.1-Sol xhigh
BREAKING CHANGE:
JVM consumers must replace
anki-android-backendwithanki-backend-core.Android consumers may still use
anki-backend-android.