2019-04-29 08:50:40 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2019-05-07 12:02:15 +00:00
|
|
|
multiDexEnabled true
|
2019-04-29 08:50:40 +00:00
|
|
|
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
def coroutines_version = "1.0.1"
|
|
|
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
|
|
|
|
|
2019-05-07 12:02:15 +00:00
|
|
|
// Log
|
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
|
|
|
2019-04-29 08:50:40 +00:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0-beta01'
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0-beta01'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-beta01'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.0.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
}
|