| plugins { |
| id "com.android.dynamic-feature" |
| id "kotlin-android" |
| id "com.google.firebase.crashlytics" |
| } |
| |
| def keystoreProperties = new Properties() |
| def keystorePropertiesFile = rootProject.file('key.properties') |
| if (keystorePropertiesFile.exists()) { |
| keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) |
| } |
| |
| android { |
| namespace "io.flutter.demo.gallery.crane" |
| compileSdkVersion 31 |
| |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| |
| kotlinOptions { |
| jvmTarget = '1.8' |
| } |
| |
| sourceSets { |
| applicationVariants.all { variant -> |
| main.assets.srcDirs += "${project.buildDir}/intermediates/flutter/${variant.name}/deferred_assets" |
| main.jniLibs.srcDirs += "${project.buildDir}/intermediates/flutter/${variant.name}/deferred_libs" |
| } |
| } |
| |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| } |
| |
| dependencies { |
| implementation project(":app") |
| } |