Skip to content

Fix: Replace deprecated Groovy space-assignment syntax with = syntax#5107

Open
Xieansecn wants to merge 1 commit into
termux:masterfrom
Xieansecn:master
Open

Fix: Replace deprecated Groovy space-assignment syntax with = syntax#5107
Xieansecn wants to merge 1 commit into
termux:masterfrom
Xieansecn:master

Conversation

@Xieansecn
Copy link
Copy Markdown

Summary

Gradle 10 will remove support for setting properties via the old Groovy space-separated syntax (propName value). This PR migrates all build.gradle files to use the standard assignment syntax (propName = value), as required by Gradle 9.x deprecation warnings.

Changes

Fixed 14 occurrences across 4 files in the following modules:

File Fixes
build.gradle (root) urlurl =
app/build.gradle namespace, minifyEnabled, signingConfig (release & debug), coreLibraryDesugaringEnabled, useLegacyPackaging, buildConfig
terminal-emulator/build.gradle namespace, minifyEnabled
terminal-view/build.gradle namespace, minifyEnabled
termux-shared/build.gradle minifyEnabled, coreLibraryDesugaringEnabled

Testing

  • Build: ./gradlew assembleRelease --warning-mode all BUILD SUCCESSFUL
  • All deprecated property assignment warnings resolved (remaining non-blocking warnings are from AGP internal dependencies and Task.project usage in bootstrap task)

Related

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.

1 participant