summaryrefslogtreecommitdiff
path: root/android/app/build.gradle.kts
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-12-22 21:25:02 +0100
committerxengineering <me@xengineering.eu>2025-12-22 21:25:02 +0100
commit1e8a6233b8c50fb0ad429d91e2937a7917915347 (patch)
tree6984b8927c0d4a78e993ebd19b87c762b3e47213 /android/app/build.gradle.kts
parentf849461c9200a098b9903739b54bf702abfc490b (diff)
downloadsia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.tar
sia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.tar.zst
sia-app-1e8a6233b8c50fb0ad429d91e2937a7917915347.zip
Create flutter projectHEADmain
This was done using the following command. flutter create \ --description "Sia app" \ --org "eu.xengineering" \ --project-name "sia_app" \ --platforms linux,android \ --empty \ .
Diffstat (limited to 'android/app/build.gradle.kts')
-rw-r--r--android/app/build.gradle.kts44
1 files changed, 44 insertions, 0 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
new file mode 100644
index 0000000..37e92c0
--- /dev/null
+++ b/android/app/build.gradle.kts
@@ -0,0 +1,44 @@
+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")
+}
+
+android {
+ namespace = "eu.xengineering.sia_app"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_17.toString()
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId = "eu.xengineering.sia_app"
+ // 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
+ }
+
+ 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")
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}