build.gradle
| 1 | apply plugin: 'com.android.library' |
| 2 | apply plugin: 'kotlin-android' |
| 3 | |
| 4 | android { |
| 5 | compileSdkVersion 29 |
| 6 | |
| 7 | defaultConfig { |
| 8 | minSdkVersion 15 |
| 9 | targetSdkVersion 29 |
| 10 | versionCode 1 |
| 11 | versionName "1.0" |
| 12 | } |
| 13 | buildTypes { |
| 14 | release { |
| 15 | minifyEnabled false |
| 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 17 | } |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | implementation fileTree(dir: 'libs', include: ['*.jar']) |
| 23 | testImplementation 'junit:junit:4.12' |
| 24 | implementation 'androidx.appcompat:appcompat:1.3.0' |
| 25 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
| 26 | } |
| 27 | repositories { |
| 28 | mavenCentral() |
| 29 | } |
| 30 |