Skip to content

refactor(gradle): modernize build scripts for AGP 9 - #17993

Open
alperozturk96 wants to merge 4 commits into
masterfrom
refactor/gradle-for-agp9
Open

alperozturk96 wants to merge 4 commits into
masterfrom
refactor/gradle-for-agp9

Conversation

@alperozturk96

@alperozturk96 alperozturk96 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Replaced the obsolete resConfigs("xxxhdpi") with androidResources.additionalParameters (--preferred-density xxxhdpi).

  • Moved buildTypes/productFlavors out of defaultConfig and switched to the newer AGP 9 DSL.

  • Removed all Suppress annotations and deprecated API usage. Lint now writes its default report path, and lint-up.rb reads that path.

  • Moved the JaCoCo setup from apply(from = ...) to a build-logic convention plugin.

  • Fixed the JaCoCo report: the class folders were wrong for AGP 9, so it covered no classes; the exclude list was never applied; and the HTML now lands where CI uploads it from.

  • Tested:

    • unit tests, lint, detekt, spotless and spotbugs pass
    • the Fastfile lanes still work

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit 7d91c34
Version 17993
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@alperozturk96
alperozturk96 force-pushed the refactor/gradle-for-agp9 branch 2 times, most recently from 14e5ee9 to 182f4ea Compare November 12, 2026 06:43
@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@alperozturk96
alperozturk96 force-pushed the refactor/gradle-for-agp9 branch from e1e5c49 to 24eb66b Compare November 12, 2026 08:24
@github-actions

Copy link
Copy Markdown

stable22-IT test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

Copy link
Copy Markdown

master-IT test failed, but no output was generated. Maybe a preliminary stage failed.

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/build.gradle.kts

# Conflicts:
#	app/build.gradle.kts
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96
alperozturk96 force-pushed the refactor/gradle-for-agp9 branch from 24eb66b to 7d91c34 Compare November 13, 2026 15:39
@github-actions

Copy link
Copy Markdown

SpotBugs

CategoryBaseNew
Bad practice2424
Correctness4646
Dodgy code125125
Experimental11
Malicious code vulnerability11
Multithreaded correctness1313
Performance2525
Security1515
Total250250

@github-actions

Copy link
Copy Markdown

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant