aboutsummaryrefslogtreecommitdiffstats
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle22
1 files changed, 15 insertions, 7 deletions
diff --git a/app/build.gradle b/app/build.gradle
index cb299d36..d76e975f 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,16 +1,17 @@
apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
// apply plugin: 'com.android.databinding'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'io.fabric'
android {
- compileSdkVersion 23
- buildToolsVersion "23.0.1"
+ compileSdkVersion 24
+ buildToolsVersion "24.0.2"
defaultConfig {
applicationId "jp.rhe.smileessence"
minSdkVersion 16
- targetSdkVersion 23
+ targetSdkVersion 24
versionName "git -C ${rootDir} describe --tags --long --dirty".execute().text.trim()
versionCode "git -C ${rootDir} rev-list HEAD --count".execute().text.trim().toInteger()
@@ -43,12 +44,15 @@ android {
dexOptions {
preDexLibraries = false
}
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
- compile 'com.android.support:support-v4:23.0.1'
- compile 'com.android.support:support-v13:23.0.1'
+ compile 'com.android.support:support-v4:24.+'
+ compile 'com.android.support:support-v13:24.+'
// volley
compile 'com.mcxiaoke.volley:library:1.0.19'
// ActiveAndroid
@@ -70,16 +74,20 @@ dependencies {
compile 'com.google.guava:guava:19.0'
// LeakCanary
- debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-SNAPSHOT'
- releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-SNAPSHOT'
+ debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4'
+ releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
// Fabric
compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
transitive = true;
}
+ compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
retrolambda {
jdk System.getenv("JAVA_HOME")
oldJdk System.getenv("JAVA7_HOME")
}
+repositories {
+ mavenCentral()
+}