Skip to content

Commit

Permalink
Adding release signing and release date.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienuser committed Aug 19, 2024
1 parent 81d4271 commit 1d8aaa7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
27 changes: 13 additions & 14 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ plugins {
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file("local.properties")
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader("UTF-8") { reader ->
localProperties.load(reader)
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

def flutterVersionCode = localProperties.getProperty("flutter.versionCode")
Expand Down Expand Up @@ -46,20 +45,20 @@ android {
versionName = flutterVersionName
}

/*signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}*/
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
signingConfig signingConfigs.release
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"information_version_version":"Version",
"information_version_build":"Buildnummer",
"information_version_date":"Builddatum",
"information_version_date_description":"202406XX",
"information_version_date_description":"20240815",
"information_source_title":"Quellenangabe",
"information_source_description":"Texte der Trainerfunktion sind in Anlehnung der Trainer-C Breitensportausbildung des Deutschen Schützenbundes.",

Expand Down
2 changes: 1 addition & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"information_version_version":"Version",
"information_version_build":"Build number",
"information_version_date":"Build date",
"information_version_date_description":"202406XX",
"information_version_date_description":"20240815",
"information_source_title":"Sources",
"information_source_description":"Texts ot the coach function are in accordance with the Trainer-C mass sports training of the Deutscher Schützenbund.",

Expand Down

0 comments on commit 1d8aaa7

Please sign in to comment.