Simple-Commons/commons/build.gradle

49 lines
1.2 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'
}
}
2016-12-11 10:12:39 +00:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2016-12-10 23:33:47 +00:00
}
dependencies {
2017-04-02 16:52:41 +00:00
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
2016-12-26 10:08:01 +00:00
compile 'com.github.bumptech.glide:glide:3.7.0'
2016-12-30 08:59:31 +00:00
compile 'com.booking:rtlviewpager:1.0.1'
2016-12-11 10:12:39 +00:00
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
buildscript {
2017-05-21 18:57:16 +00:00
ext.kotlin_version = '1.1.2-3'
2016-12-11 10:12:39 +00:00
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'