|
|
@ -3,11 +3,11 @@ apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
android {
|
|
|
|
compileSdkVersion 33
|
|
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "dev.flutter.example.androidusingplugin"
|
|
|
|
applicationId "dev.flutter.example.androidusingplugin"
|
|
|
|
minSdkVersion 19
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 33
|
|
|
|
targetSdk 34
|
|
|
|
versionCode 1
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
@ -17,19 +17,25 @@ android {
|
|
|
|
minifyEnabled false
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Keep java and kotlin versions in sync.
|
|
|
|
compileOptions {
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
targetCompatibility 1.8
|
|
|
|
targetCompatibility 1.8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace 'dev.flutter.example.androidusingplugin'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|
implementation project(':flutter')
|
|
|
|
implementation project(':flutter')
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
|
|
implementation 'androidx.core:core-ktx:1.10.1'
|
|
|
|
implementation 'androidx.core:core-ktx:1.13.1'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
|
|
|
}
|
|
|
|
}
|
|
|
|