build.gradle
| 1 | apply plugin: 'com.android.library' |
| 2 | |
| 3 | android { |
| 4 | compileSdkVersion 29 |
| 5 | buildToolsVersion "29.0.3" |
| 6 | |
| 7 | defaultConfig { |
| 8 | minSdkVersion 15 |
| 9 | targetSdkVersion 29 |
| 10 | versionCode 1 |
| 11 | versionName "1.0" |
| 12 | |
| 13 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| 14 | consumerProguardFiles "consumer-rules.pro" |
| 15 | } |
| 16 | |
| 17 | buildTypes { |
| 18 | release { |
| 19 | minifyEnabled false |
| 20 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | dependencies { |
| 26 | implementation fileTree(dir: "libs", include: ["*.jar"]) |
| 27 | implementation 'androidx.appcompat:appcompat:1.3.1' |
| 28 | testImplementation 'junit:junit:4.12' |
| 29 | androidTestImplementation 'androidx.test.ext:junit:1.1.3' |
| 30 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' |
| 31 | |
| 32 | } |