PIbd-31-Makarov-DV-MobilePr.../android/app/build.gradle

43 lines
1.1 KiB
Groovy
Raw Normal View History

2024-09-09 20:19:01 +04:00
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.flutter_project"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
2024-10-17 14:15:18 +04:00
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
2024-09-09 20:19:01 +04:00
}
kotlinOptions {
2024-10-17 14:15:18 +04:00
jvmTarget = 17
2024-09-09 20:19:01 +04:00
}
defaultConfig {
applicationId = "com.example.flutter_project"
// 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 {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
}
}
}
flutter {
source = "../.."
}