48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0.4"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
|
|
publishNonDefault true
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.simplemobiletools:filepicker:1.6.1@aar'
|
|
compile 'com.android.support:design:25.0.1'
|
|
compile 'com.android.support:appcompat-v7:25.0.1'
|
|
compile 'com.github.yukuku:ambilwarna:2.0.1'
|
|
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"
|
|
}
|
|
}
|