48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
|
|
plugins {
|
||
|
|
id "com.android.application"
|
||
|
|
id "kotlin-android"
|
||
|
|
id "dev.flutter.flutter-gradle-plugin"
|
||
|
|
id "com.google.gms.google-services"
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "io.cloudhosting.twp.twp_softphone"
|
||
|
|
compileSdk = flutter.compileSdkVersion
|
||
|
|
ndkVersion = flutter.ndkVersion
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
|
||
|
|
kotlinOptions {
|
||
|
|
jvmTarget = JavaVersion.VERSION_11
|
||
|
|
}
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
applicationId = "io.cloudhosting.twp.twp_softphone"
|
||
|
|
minSdkVersion 24
|
||
|
|
targetSdk = flutter.targetSdkVersion
|
||
|
|
versionCode = flutter.versionCode
|
||
|
|
versionName = flutter.versionName
|
||
|
|
multiDexEnabled true
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
signingConfig = signingConfigs.debug
|
||
|
|
minifyEnabled true
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
flutter {
|
||
|
|
source = "../.."
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation platform('com.google.firebase:firebase-bom:33.0.0')
|
||
|
|
implementation 'com.google.firebase:firebase-messaging'
|
||
|
|
}
|