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 {
|
2016-12-17 22:51:44 +00:00
|
|
|
compileSdkVersion propCompileSdkVersion
|
|
|
|
buildToolsVersion propBuildToolsVersion
|
2016-12-10 23:33:47 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
2016-12-17 22:51:44 +00:00
|
|
|
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-11 10:33:26 +00:00
|
|
|
|
|
|
|
publishNonDefault true
|
2016-12-10 23:33:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-12-13 22:30:10 +00:00
|
|
|
compile 'com.simplemobiletools:filepicker:1.6.1@aar'
|
|
|
|
compile 'com.android.support:design:25.0.1'
|
2016-12-10 23:33:47 +00:00
|
|
|
compile 'com.android.support:appcompat-v7:25.0.1'
|
2016-12-14 17:23:46 +00:00
|
|
|
compile 'com.github.yukuku:ambilwarna:2.0.1'
|
2016-12-11 10:12:39 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.0.3'
|
|
|
|
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
|
|
|
}
|