web_shell_flutter/apps/quanxue/android/app/build.gradle.kts

45 lines
1.3 KiB
Plaintext
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")
// Flutter Gradle 插件必须放在 Android 与 Kotlin Gradle 插件之后应用。
id("dev.flutter.flutter-gradle-plugin")
}
android {
namespace = "com.wanmake.quanxue"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
defaultConfig {
// 待补充:请替换成你自己的唯一应用标识。
applicationId = "com.wanmake.quanxue"
// 下面这些值可以按应用实际需求调整。
// 更多说明可参考https://flutter.dev/to/review-gradle-config。
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
release {
// 待补充:为 release 构建配置正式签名。
// 当前先使用 debug 签名,确保 `flutter run --release` 可直接运行。
signingConfig = signingConfigs.getByName("debug")
}
}
}
flutter {
source = "../.."
}