58 lines
2.0 KiB
Plaintext
58 lines
2.0 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.yd.event.yd_pattern_scoring_system"
|
||
|
|
compileSdk = flutter.compileSdkVersion
|
||
|
|
buildToolsVersion = "35.0.1"
|
||
|
|
ndkVersion = flutter.ndkVersion
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlinOptions {
|
||
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
||
|
|
}
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||
|
|
applicationId = "com.yd.event.yd_pattern_scoring_system"
|
||
|
|
// 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
|
||
|
|
}
|
||
|
|
|
||
|
|
lint {
|
||
|
|
// Dart/Flutter analysis runs in CI. Android's release-only dependency
|
||
|
|
// lint exhausts metaspace on this workstation without adding checks
|
||
|
|
// for the app's Dart UI code.
|
||
|
|
checkReleaseBuilds = false
|
||
|
|
}
|
||
|
|
|
||
|
|
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")
|
||
|
|
// The tablet app is distributed internally. Avoid R8's large
|
||
|
|
// memory spike on the current build workstation; Dart AOT and
|
||
|
|
// icon tree-shaking still provide release-mode performance.
|
||
|
|
isMinifyEnabled = false
|
||
|
|
isShrinkResources = false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
flutter {
|
||
|
|
source = "../.."
|
||
|
|
}
|