Add new friends system, and sharing legs support
All checks were successful
Release / meta (push) Successful in 9s
Release / linux-build (push) Successful in 6m37s
Release / web-build (push) Successful in 5m29s
Release / android-build (push) Successful in 15m58s
Release / release-master (push) Successful in 20s
Release / release-dev (push) Successful in 26s
All checks were successful
Release / meta (push) Successful in 9s
Release / linux-build (push) Successful in 6m37s
Release / web-build (push) Successful in 5m29s
Release / android-build (push) Successful in 15m58s
Release / release-master (push) Successful in 20s
Release / release-dev (push) Successful in 26s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import java.io.File
|
||||
import java.util.Properties
|
||||
|
||||
plugins {
|
||||
@@ -22,8 +23,21 @@ val releaseKeyAlias = System.getenv("ANDROID_KEY_ALIAS")
|
||||
val releaseKeyPassword = System.getenv("ANDROID_KEY_PASSWORD")
|
||||
?: keystoreProperties.getProperty("keyPassword")
|
||||
|
||||
val releaseStoreFilePath: File? = releaseStoreFile?.let { path ->
|
||||
val candidate = File(path)
|
||||
if (candidate.isAbsolute) return@let candidate
|
||||
|
||||
val candidates = listOfNotNull(
|
||||
rootProject.file(path),
|
||||
rootProject.projectDir.parentFile?.let { File(it, path) },
|
||||
project.file(path),
|
||||
)
|
||||
|
||||
candidates.firstOrNull { it.exists() }
|
||||
}
|
||||
|
||||
val hasReleaseKeystore = listOf(
|
||||
releaseStoreFile,
|
||||
releaseStoreFilePath?.path,
|
||||
releaseStorePassword,
|
||||
releaseKeyAlias,
|
||||
releaseKeyPassword
|
||||
@@ -48,8 +62,8 @@ android {
|
||||
applicationId = "com.petegregoryy.mileograph_flutter"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||
minSdk = flutter.minSdkVersion
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
minSdk = 24
|
||||
targetSdk = 36
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
}
|
||||
@@ -57,7 +71,7 @@ android {
|
||||
signingConfigs {
|
||||
if (hasReleaseKeystore) {
|
||||
create("release") {
|
||||
storeFile = file(releaseStoreFile!!)
|
||||
storeFile = releaseStoreFilePath
|
||||
storePassword = releaseStorePassword
|
||||
keyAlias = releaseKeyAlias!!
|
||||
keyPassword = releaseKeyPassword
|
||||
|
||||
Reference in New Issue
Block a user