From ed13b078c6ecf3058123db98df16bfedcd60d08d Mon Sep 17 00:00:00 2001 From: Mica White Date: Wed, 30 Sep 2026 10:25:31 -0400 Subject: Fix up metadata --- android/app/build.gradle.kts | 109 +++++++++------------ android/app/src/debug/AndroidManifest.xml | 14 +-- android/app/src/main/AndroidManifest.xml | 96 +++++++++--------- .../kotlin/com/example/speedometer/MainActivity.kt | 5 - .../dev/botahamec/speedometer/MainActivity.kt | 5 + .../main/res/drawable-v21/launch_background.xml | 24 ++--- .../src/main/res/drawable/launch_background.xml | 24 ++--- .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin android/app/src/main/res/values-night/styles.xml | 36 +++---- android/app/src/main/res/values/styles.xml | 36 +++---- android/app/src/profile/AndroidManifest.xml | 14 +-- 15 files changed, 173 insertions(+), 190 deletions(-) mode change 100755 => 100644 android/app/build.gradle.kts mode change 100755 => 100644 android/app/src/debug/AndroidManifest.xml mode change 100755 => 100644 android/app/src/main/AndroidManifest.xml delete mode 100755 android/app/src/main/kotlin/com/example/speedometer/MainActivity.kt create mode 100644 android/app/src/main/kotlin/dev/botahamec/speedometer/MainActivity.kt mode change 100755 => 100644 android/app/src/main/res/drawable-v21/launch_background.xml mode change 100755 => 100644 android/app/src/main/res/drawable/launch_background.xml mode change 100755 => 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher.png mode change 100755 => 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher.png mode change 100755 => 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png mode change 100755 => 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png mode change 100755 => 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png mode change 100755 => 100644 android/app/src/main/res/values-night/styles.xml mode change 100755 => 100644 android/app/src/main/res/values/styles.xml mode change 100755 => 100644 android/app/src/profile/AndroidManifest.xml (limited to 'android/app') diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts old mode 100755 new mode 100644 index 9c87981..6291d2e --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -1,60 +1,49 @@ -import java.util.Properties -import java.io.FileInputStream - -plugins { - id("com.android.application") - id("kotlin-android") - // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. - id("dev.flutter.flutter-gradle-plugin") -} - -val keystoreProperties = Properties() -val keystorePropertiesFile = rootProject.file("key.properties") -if (keystorePropertiesFile.exists()) { - keystoreProperties.load(FileInputStream(keystorePropertiesFile)) -} - -android { - namespace = "com.botahamec.speedometer" - compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion - - compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - - kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.botahamec.speedometer" - // 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 - versionCode = flutter.versionCode - versionName = flutter.versionName - } - - signingConfigs { - create("release") { - keyAlias = keystoreProperties["keyAlias"] as String - keyPassword = keystoreProperties["keyPassword"] as String - storeFile = keystoreProperties["storeFile"]?.let { file(it) } - storePassword = keystoreProperties["storePassword"] as String - } - } - - buildTypes { - release { - signingConfig = signingConfigs.getByName("release") - } - } -} - -flutter { - source = "../.." -} +plugins { + id("com.android.application") + // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. + id("dev.flutter.flutter-gradle-plugin") +} + +android { + namespace = "dev.botahamec.speedometer" + compileSdk = flutter.compileSdkVersion + ndkVersion = flutter.ndkVersion + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId = "dev.botahamec.speedometer" + // 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 + // Uses the version code from pubspec.yaml. When using split APKs, 1000 * ABI_VERSION + // is added automatically by Flutter. (https://developer.android.com/studio/build/configure-apk-splits#configure-APK-versions) + // You can force using the value of versionCode by specifying the `-P force-version-code-ignoring-abi=true` + // flag during build. + versionCode = flutter.versionCode + versionName = flutter.versionName + } + + 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.getByName("debug") + } + } +} + +kotlin { + compilerOptions { + jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 + } +} + +flutter { + source = "../.." +} diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml old mode 100755 new mode 100644 index 8ffe024..399f698 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,7 +1,7 @@ - - - - + + + + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml old mode 100755 new mode 100644 index 25a7982..57052f1 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,51 +1,45 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/kotlin/com/example/speedometer/MainActivity.kt b/android/app/src/main/kotlin/com/example/speedometer/MainActivity.kt deleted file mode 100755 index fe419d8..0000000 --- a/android/app/src/main/kotlin/com/example/speedometer/MainActivity.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.botahamec.speedometer - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() diff --git a/android/app/src/main/kotlin/dev/botahamec/speedometer/MainActivity.kt b/android/app/src/main/kotlin/dev/botahamec/speedometer/MainActivity.kt new file mode 100644 index 0000000..3d1318c --- /dev/null +++ b/android/app/src/main/kotlin/dev/botahamec/speedometer/MainActivity.kt @@ -0,0 +1,5 @@ +package dev.botahamec.speedometer + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml old mode 100755 new mode 100644 index 1cb7aa2..f74085f --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -1,12 +1,12 @@ - - - - - - - - + + + + + + + + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml old mode 100755 new mode 100644 index 8403758..304732f --- a/android/app/src/main/res/drawable/launch_background.xml +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -1,12 +1,12 @@ - - - - - - - - + + + + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml old mode 100755 new mode 100644 index 360a160..06952be --- a/android/app/src/main/res/values-night/styles.xml +++ b/android/app/src/main/res/values-night/styles.xml @@ -1,18 +1,18 @@ - - - - - - - + + + + + + + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml old mode 100755 new mode 100644 index 5fac679..cb1ef88 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -1,18 +1,18 @@ - - - - - - - + + + + + + + diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml old mode 100755 new mode 100644 index 8ffe024..399f698 --- a/android/app/src/profile/AndroidManifest.xml +++ b/android/app/src/profile/AndroidManifest.xml @@ -1,7 +1,7 @@ - - - - + + + + -- cgit v1.3.1