Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
baadfb9
build(deps): bump com.google.protobuf:protobuf-kotlin-lite
dependabot[bot] Dec 8, 2025
77d8e41
build(deps): bump io.mockk:mockk from 1.14.6 to 1.14.7
dependabot[bot] Dec 8, 2025
50d49ff
build(deps): bump com.github.triplet.play from 3.12.2 to 3.13.0
dependabot[bot] Dec 8, 2025
71e3ba4
build(deps-dev): bump the non-breaking group
dependabot[bot] Dec 8, 2025
8cbd92c
build(deps): bump lint from 31.13.1 to 31.13.2
dependabot[bot] Dec 11, 2025
bb409ce
build(deps): bump actions/cache from 4 to 5
dependabot[bot] Dec 11, 2025
23b3bb4
build(deps): bump androidGradlePlugin from 8.13.1 to 8.13.2
dependabot[bot] Dec 11, 2025
1828bfd
build(deps): bump androidx.lifecycle:lifecycle-process
dependabot[bot] Dec 12, 2025
99970e1
build(deps): bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 12, 2025
fe0e222
build(deps-dev): bump @types/node in /tools/localization
dependabot[bot] Dec 15, 2025
0de7607
build(deps): bump the non-breaking group
dependabot[bot] Dec 15, 2025
ded8233
build(deps): bump androidx.activity:activity from 1.12.1 to 1.12.2
dependabot[bot] Dec 19, 2025
db235e8
build(deps): bump androidxMedia3 from 1.8.0 to 1.9.0
dependabot[bot] Dec 19, 2025
bb5713e
build(deps): bump androidx.webkit:webkit from 1.14.0 to 1.15.0
dependabot[bot] Dec 19, 2025
a6e8fd7
refactor: fixes to allow for Kotlin 2.3.0
david-allison Dec 20, 2025
c276ce5
build(deps): bump kotlin from 2.2.10 to 2.3.0
dependabot[bot] Dec 20, 2025
ceed212
build(deps): bump org.json:json from 20250517 to 20251224
dependabot[bot] Dec 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v6

- uses: actions/cache@v4
- uses: actions/cache@v5
name: Gradle Cache
with:
path: ~/.gradle/caches
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests_emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
# Repo limit is 10GB; branch caches are independent; branches may read default branch cache.
# We don't want branches to evict main branch snapshot, so save on main, read-only all else
- name: AVD cache
uses: actions/cache@v4
uses: actions/cache@v5
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -219,21 +219,21 @@ jobs:
./gradlew uninstallAll jacocoAndroidTestReport --daemon

- name: Upload Test Report
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: ${{ matrix.api-level }}-${{ matrix.arch }}-${{matrix.target}}-${{matrix.first-boot-delay}}-${{matrix.iteration}}-jacocoAndroidTestReport
path: ~/work/Anki-Android/Anki-Android/AnkiDroid/build/reports/jacoco/

- name: Upload Emulator Log
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: ${{ matrix.api-level }}-${{ matrix.arch }}-${{matrix.target}}-${{matrix.first-boot-delay}}-${{matrix.iteration}}-adb_logs
path: adb-log.txt

- name: Upload Emulator Screen Record
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: ${{ matrix.api-level }}-${{ matrix.arch }}-${{matrix.target}}-${{matrix.first-boot-delay}}-${{matrix.iteration}}-adb_video
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
# cancelled() handles test timeouts
# remove when test timeouts cause a failure()
if: failure() || cancelled()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: logcat-${{ matrix.name }}-${{ matrix.iteration }}
# look for the `<system-out>` element in the XML files in `test-results`
Expand Down
22 changes: 11 additions & 11 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ ktlint = '1.8.0'
#
# Old changelogs - See 'Table of Contents' in sidebar
# https://developer.android.com/build/releases/past-releases
androidGradlePlugin = "8.13.1"
androidGradlePlugin = "8.13.2"
# https://developer.android.com/jetpack/androidx/releases/activity
androidxActivity = "1.12.1"
androidxActivity = "1.12.2"
# https://developer.android.com/jetpack/androidx/releases/annotation
androidxAnnotation = "1.9.1"
# https://developer.android.com/jetpack/androidx/releases/appcompat
Expand All @@ -38,11 +38,11 @@ androidxExifinterface = "1.4.2"
# https://developer.android.com/jetpack/androidx/releases/fragment
androidxFragmentKtx = "1.8.9"
# https://developer.android.com/jetpack/androidx/releases/lifecycle
androidxLifecycleProcess = "2.9.3"
androidxLifecycleProcess = "2.10.0"
# https://developer.android.com/jetpack/androidx/releases/media
androidxMedia = "1.7.1"
# https://developer.android.com/jetpack/androidx/releases/media3
androidxMedia3 = "1.8.0"
androidxMedia3 = "1.9.0"
# https://developer.android.com/jetpack/androidx/releases/preference
androidxPreferenceKtx = "1.2.1"
# https://developer.android.com/jetpack/androidx/releases/recyclerview
Expand All @@ -58,7 +58,7 @@ androidxTestUiAutomator = "2.3.0"
# https://developer.android.com/jetpack/androidx/releases/viewpager2
androidxViewpager2 = "1.1.0"
# https://developer.android.com/jetpack/androidx/releases/webkit
androidxWebkit = "1.14.0"
androidxWebkit = "1.15.0"
# https://developer.android.com/jetpack/androidx/releases/work
androidxWork = "2.11.0"
ankiBackend = '0.1.62-anki25.09.2'
Expand All @@ -81,27 +81,27 @@ imageCropper = "4.7.0"
jacoco = "0.8.14"
javaSemver = "0.10.2"
jetbrainsAnnotations = "26.0.2-1"
json = "20250517"
json = "20251224"
jsoup = "1.21.2"
androidTestJunit = "1.3.0"
# https://github.com/junit-team/junit5/releases/
junit = "6.0.1"
# https://github.com/JetBrains/kotlin/releases/
kotlin = '2.2.10'
kotlin = '2.3.0'
# https://github.com/Kotlin/kotlinx.serialization/releases
kotlinxSerializationJson = "1.9.0"
ktlintGradlePlugin = "14.0.1"
leakcanaryAndroid = "2.14"
lint = '31.13.1'
lint = '31.13.2'
material = "1.13.0"

mockitoInline = "5.2.0"
mockitoKotlin = "6.1.0"
mockk = "1.14.6"
mockk = "1.14.7"
nanohttpd = "2.3.1"
okhttp = "5.3.2"
# https://github.com/protocolbuffers/protobuf/releases
protobufKotlinLite = "4.33.1"
protobufKotlinLite = "4.33.2"
# ../AnkiDroid/robolectricDownload.gradle may need changes - read instructions in that file
robolectric = "4.16"
searchpreference = "2.7.3"
Expand All @@ -112,7 +112,7 @@ slf4jTimber = "3.1"
timber = "5.0.1"
# https://github.com/Triple-T/gradle-play-publisher/releases
# In the past, releases have been published before the changelog
triplet = "3.12.2"
triplet = "3.13.0"
turbine = "1.2.1"

[libraries]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class LocaleRootDetector :
object : UElementHandler() {
override fun visitCallExpression(node: UCallExpression) {
node.valueArguments.forEach { arg ->
if (isLocaleRootUsage(arg as? UExpression)) {
if (isLocaleRootUsage(arg)) {
context.report(
ISSUE,
arg,
Expand Down
16 changes: 8 additions & 8 deletions tools/localization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@
"author": "AnkiDroid Open Source Team",
"license": "GPL-3.0",
"dependencies": {
"@crowdin/crowdin-api-client": "^1.49.0",
"@crowdin/crowdin-api-client": "^1.51.0",
"axios": "^1.13.2",
"dotenv": "^17.2.3",
"extract-zip": "^2.0.1",
"typescript": "^5.9.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.1",
"@eslint/js": "^9.39.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"eslint": "^9.39.1",
"@types/node": "^25.0.2",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-promise": "^7.2.1",
"globals": "^16.5.0",
"jest": "^30.2.0",
"prettier": "^3.7.3",
"ts-jest": "^29.4.5",
"prettier": "^3.7.4",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2"
},
"packageManager": "[email protected]"
Expand Down
Loading