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 .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Thu Nov 06 11:37:59 CST 2025
#Tue Dec 09 09:20:44 UTC 2025
gradle.version=8.9
Comment on lines +1 to 2
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

The .gradle/ directory should not be committed to version control as specified in .gitignore. This file is a Gradle build cache artifact that changes with every build and should be excluded from the repository. Please remove this file from the PR.

Suggested change
#Tue Dec 09 09:20:44 UTC 2025
gradle.version=8.9

Copilot uses AI. Check for mistakes.
16 changes: 8 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ android {
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile = file(keystoreProperties['storeFile'])
storePassword = keystoreProperties['storePassword']
keyAlias = keystoreProperties['keyAlias']
keyPassword = keystoreProperties['keyPassword']
} else {
// CI环境使用环境变量(如果未设置,签名配置将为null)
def keystoreFile = System.getenv("KEYSTORE_FILE")
Expand All @@ -38,10 +38,10 @@ android {

// 只有当所有环境变量都存在且非空时才配置签名
if (hasCompleteSigningConfig) {
storeFile file(keystoreFile)
storePassword keystorePassword
keyAlias keyAlias
keyPassword keyPassword
storeFile = file(keystoreFile)
storePassword = keystorePassword
keyAlias = keyAlias
keyPassword = keyPassword
}
// 如果环境变量未设置,签名配置保持为空(允许构建debug)
}
Expand Down