支持编译发行版本。

This commit is contained in:
Cold-Mint 2024-01-07 18:17:27 +08:00
parent 9e2abb7c8a
commit c6089ae67c
3 changed files with 15 additions and 3 deletions

View File

@ -68,8 +68,20 @@ android {
baseline file('lint-baseline.xml') baseline file('lint-baseline.xml')
} }
namespace 'com.coldmint.rust.pro' namespace 'com.coldmint.rust.pro'
gradle.taskGraph.whenReady {
tasks.each { task ->
if (task.name.contains("uploadCrashlyticsMappingFileRelease")) {
task.enabled = false
}
}
}
} }
configurations.all {
resolutionStrategy {
force 'org.jetbrains.kotlin:kotlin-stdlib:1.6.0'
}
}
dependencies { dependencies {
configurations.all { configurations.all {

View File

@ -11,8 +11,8 @@
"type": "SINGLE", "type": "SINGLE",
"filters": [], "filters": [],
"attributes": [], "attributes": [],
"versionCode": 23, "versionCode": 28,
"versionName": "2.1 Bata1_patch6(2022-10-1)", "versionName": "2.1 Bata6(2023-7-20)",
"outputFile": "app-release.apk" "outputFile": "app-release.apk"
} }
], ],

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.3.3-bin.zip