apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdk 34 defaultConfig { applicationId "dev.flutter.example.androidusingprebuiltmodule" minSdkVersion 21 targetSdkVersion 34 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } buildTypes { release { minifyEnabled false } } compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } kotlinOptions { jvmTarget = '1.8' } namespace 'dev.flutter.example.androidusingprebuiltmodule' } repositories { maven { // This maven repo is created when you run `flutter build aar`. It contains compiled code // and resources for flutter_module itself. url '../../flutter_module/build/host/outputs/repo' } maven { // This maven repo contains artifacts for Flutter's Android embedding. url 'https://storage.googleapis.com/download.flutter.io' } } dependencies { releaseImplementation ('dev.flutter.example.flutter_module:flutter_release:1.0@aar') { transitive = true } debugImplementation ('dev.flutter.example.flutter_module:flutter_debug:1.0@aar') { transitive = true } implementation 'androidx.multidex:multidex:2.0.1' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'androidx.appcompat:appcompat:1.7.0' implementation 'androidx.core:core-ktx:1.13.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation "com.google.truth:truth:1.1.3" androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' api 'androidx.test:core:1.2.1' }