| plugins { |
| id 'com.android.dynamic-feature' |
| id 'kotlin-android' |
| id 'kotlin-android-extensions' |
| } |
| android { |
| compileSdkVersion 30 |
| buildToolsVersion "30.0.2" |
| |
| defaultConfig { |
| applicationId "com.example.dynamicfeature" |
| minSdkVersion 16 |
| targetSdkVersion 30 |
| versionCode 1 |
| versionName "1.0" |
| |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| } |
| } |
| } |
| |
| dependencies { |
| implementation project(":app") |
| implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" |
| compile 'androidx.core:core-ktx:1.2.0' |
| testCompile 'junit:junit:4.13' |
| androidTestCompile 'androidx.test.ext:junit:1.1.2' |
| androidTestRuntime 'androidx.test.espresso:espresso-core:3.2.0' |
| androidTestImplementation 'androidx.annotation:annotation:1.1.0' |
| } |