Simple-Commons/commons/build.gradle
2019-05-08 20:33:46 +02:00

46 lines
1.4 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 {
implementation 'com.andrognito.patternlockview:patternlockview:1.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.core:core-ktx:1.0.2'
api 'androidx.appcompat:appcompat:1.0.2'
api 'com.github.ajalt.reprint:core:3.3.0@aar'
api 'com.google.android.material:material:1.0.0'
api 'com.github.bumptech.glide:glide:4.9.0'
api 'com.google.code.gson:gson:2.8.5'
api 'com.duolingo.open:rtl-viewpager:1.0.3'
kapt 'com.github.bumptech.glide:compiler:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
}
apply from: '../bintray-upload.gradle'