Simple-Commons/samples/build.gradle

46 lines
1.1 KiB
Groovy
Raw Normal View History

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 {
compileSdkVersion propCompileSdkVersion
buildToolsVersion propBuildToolsVersion
2016-12-10 23:22:27 +00:00
defaultConfig {
applicationId "com.simplemobiletools.commons"
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 {
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
}