cleaner ci
Some checks failed
Build and push docker image / Build (pull_request) Failing after 2m6s
Build and release APK / Build APK (pull_request) Successful in 5m47s
Build web / Build Web (pull_request) Successful in 1m34s

This commit is contained in:
2024-06-03 17:36:13 +02:00
parent d5e0b7d51a
commit 2e867c6b2d
10 changed files with 150 additions and 57 deletions

View File

@@ -2,10 +2,12 @@ plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
def localPropertiesFile = rootProject.file('secrets.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
@@ -52,6 +54,9 @@ android {
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
// Placeholders of keys that are replaced by the build system.
manifestPlaceholders += [MAPS_API_KEY: "some value"]
}
buildTypes {

View File

@@ -32,7 +32,7 @@
/>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyCeWk_D2xvfOHLidvV56EZeQCUybypEntw"
android:value="${MAPS_API_KEY}"
/>