2016-12-10 23:22:27 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2016-12-11 10:12:39 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2016-12-10 23:22:27 +00:00
|
|
|
|
|
|
|
android {
|
2016-12-18 09:55:18 +00:00
|
|
|
compileSdkVersion propCompileSdkVersion
|
|
|
|
buildToolsVersion propBuildToolsVersion
|
2016-12-17 10:34:11 +00:00
|
|
|
|
2016-12-10 23:22:27 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.commons"
|
2016-12-18 09:55:18 +00:00
|
|
|
minSdkVersion propMinSdkVersion
|
|
|
|
targetSdkVersion propTargetSdkVersion
|
|
|
|
versionCode propVersionCode
|
|
|
|
versionName propVersionName
|
2016-12-10 23:22:27 +00:00
|
|
|
}
|
2016-12-11 10:12:39 +00:00
|
|
|
|
2016-12-10 23:22:27 +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:22:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-07-01 07:48:52 +00:00
|
|
|
compile "com.android.support:appcompat-v7:$support_libs"
|
2016-12-11 10:12:39 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2016-12-11 10:33:26 +00:00
|
|
|
|
2016-12-17 20:52:07 +00:00
|
|
|
compile project(':commons')
|
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:22:27 +00:00
|
|
|
}
|