playWith/apps/app/android/app/build.gradle.kts
2025-11-24 18:02:41 +09:00

52 lines
1.5 KiB
Plaintext

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.playwith.playwith_app"
compileSdk = 36
ndkVersion = flutter.ndkVersion
// [수정할 부분]
compileOptions {
// 기존 1.8 -> 17로 변경
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
// [수정할 부분]
kotlinOptions {
// 기존 '1.8' -> '17'로 변경
jvmTarget = "17"
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.playwith.playwith_app"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
// [수정] 최소 SDK는 21 이상이면 됨
minSdk = flutter.minSdkVersion
// [수정] 타겟 SDK도 34로 올림
targetSdk = 36
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 = "../.."
}