TKK_E32220549/android/app/build.gradle

52 lines
1.2 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 = "com.example.nutriplant"
compileSdk = 35 // hardcode ke SDK 35 sesuai kebutuhan plugin
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}
defaultConfig {
// unique application ID
applicationId = "com.example.nutriplant"
// minimum SDK yang dibutuhkan
minSdkVersion 23
// target SDK disamakan dengan compileSdk
targetSdk = 35
// versi aplikasi
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
release {
// untuk testing release, sementara pakai debug keystore
signingConfig = signingConfigs.debug
}
}
}
flutter {
source = "../.."
}
dependencies {
// jika perlu tambahkan dependensi lain di sini
}
apply plugin: 'com.google.gms.google-services'