Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 10 additions & 10 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,7 +81,7 @@ 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/
Expand All @@ -92,16 +92,16 @@ kotlin = '2.2.10'
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": "yarn@4.10.3"
Expand Down
Loading