Simple-Commons/commons/build.gradle

53 lines
1.5 KiB
Groovy
Raw Normal View History

2016-12-10 23:33:47 +00:00
apply plugin: 'com.android.library'
2016-12-11 10:12:39 +00:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2016-12-10 23:33:47 +00:00
android {
compileSdkVersion propCompileSdkVersion
buildToolsVersion propBuildToolsVersion
2016-12-10 23:33:47 +00:00
defaultConfig {
minSdkVersion propMinSdkVersion
targetSdkVersion propTargetSdkVersion
versionCode propVersionCode
versionName propVersionName
2016-12-10 23:33:47 +00:00
}
2016-12-11 10:12:39 +00:00
2016-12-10 23:33:47 +00:00
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2017-10-19 19:43:03 +00:00
consumerProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2016-12-10 23:33:47 +00:00
}
}
2016-12-11 10:12:39 +00:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2016-12-10 23:33:47 +00:00
}
dependencies {
compile "com.android.support:design:$support_libs"
compile "com.android.support:appcompat-v7:$support_libs"
2017-10-18 15:38:46 +00:00
compile 'com.github.bumptech.glide:glide:4.2.0'
2016-12-30 08:59:31 +00:00
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'
2016-12-11 10:12:39 +00:00
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2017-09-17 20:50:59 +00:00
2017-10-18 15:38:46 +00:00
annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0'
2016-12-11 10:12:39 +00:00
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
2016-12-10 23:33:47 +00:00
}
apply from: '../bintray-upload.gradle'