Simple-Commons/commons/build.gradle

51 lines
1.4 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
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'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
compile "com.android.support:design:$support_libs"
compile "com.android.support:appcompat-v7:$support_libs"
compile 'com.github.bumptech.glide:glide:4.0.0'
compile 'com.booking:rtlviewpager:1.0.1'
compile 'com.andrognito.patternlockview:patternlockview:1.0.0'
compile 'com.github.ajalt.reprint:core:3.1.0@aar'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
}
apply from: '../bintray-upload.gradle'