43 lines
1.3 KiB
Groovy
43 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion propCompileSdkVersion
|
|
buildToolsVersion propBuildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion propMinSdkVersion
|
|
targetSdkVersion propTargetSdkVersion
|
|
versionCode propVersionCode
|
|
versionName propVersionName
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api 'androidx.appcompat:appcompat:1.0.0'
|
|
api 'com.github.ajalt.reprint:core:3.2.1@aar'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.8.0'
|
|
implementation 'com.andrognito.patternlockview:patternlockview:1.0.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'com.google.code.gson:gson:2.8.2'
|
|
implementation 'com.duolingo.open:rtl-viewpager:1.0.3'
|
|
|
|
kapt 'com.github.bumptech.glide:compiler:4.8.0'
|
|
}
|
|
|
|
apply from: '../bintray-upload.gradle'
|