Skip to content

Chore/optimize build speed#6348

Merged
crossle merged 4 commits intomasterfrom
chore/optimize-build-speed
Apr 28, 2026
Merged

Chore/optimize build speed#6348
crossle merged 4 commits intomasterfrom
chore/optimize-build-speed

Conversation

@SeniorZhai
Copy link
Copy Markdown
Member

No description provided.

SeniorZhai and others added 2 commits April 28, 2026 15:37
Agent-Logs-Url: https://github.com/MixinNetwork/android-app/sessions/819bda26-8c30-47bf-abe2-5672618e8713

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: SeniorZhai <5416585+SeniorZhai@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR focuses on improving Gradle/Android build performance via build-tooling configuration updates and minor build script cleanup.

Changes:

  • Tunes Gradle/Kotlin daemon JVM args and enables Gradle configuration cache, VFS watching, and incremental build-related flags.
  • Updates repository declarations in the root build.gradle to consistent property-assignment syntax and removes a duplicate repository entry.
  • Adjusts app/build.gradle Android DSL to property-assignment style and attempts to disable Firebase Performance instrumentation for debug.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
gradle.properties Enables configuration cache/VFS watch and incremental flags; adjusts daemon JVM settings.
build.gradle Normalizes maven { url = ... } syntax and cleans up repository list.
app/build.gradle Converts several Android DSL fields to assignment syntax; adds Firebase Performance config in debug; removes a Room KSP arg.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/build.gradle
jniDebuggable false
signingConfig = signingConfigs.debug
jniDebuggable = false
FirebasePerformance {
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

FirebasePerformance { ... } is likely an invalid DSL block and will fail Gradle configuration (or be ignored). The Firebase Performance plugin exposes the firebasePerformance extension (lowercase) for configuring instrumentation; please use the correct extension name (and verify whether it belongs at the module level or inside the debug buildType).

Suggested change
FirebasePerformance {
firebasePerformance {

Copilot uses AI. Check for mistakes.
@crossle crossle merged commit 6ac6615 into master Apr 28, 2026
2 checks passed
@crossle crossle deleted the chore/optimize-build-speed branch April 28, 2026 10:34
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.

4 participants