| def keystoreProperties = new Properties() |
| def keystorePropertiesFile = rootProject.file('key.properties') |
| if (keystorePropertiesFile.exists()) { |
| keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) |
| } |
| |
| apply plugin: "com.android.dynamic-feature" |
| |
| android { |
| namespace "com.example.gallery.crane" |
| compileSdkVersion 31 |
| |
| 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 |
| } |
| |
| compileOptions { |
| sourceCompatibility 1.8 |
| targetCompatibility 1.8 |
| } |
| } |
| |
| dependencies { |
| implementation project(":app") |
| } |