Upgrade gradle. Other minor changes

This commit is contained in:
inorichi
2016-02-06 00:37:11 +01:00
parent 34c5f0b7ba
commit c35184abdc
5 changed files with 36 additions and 34 deletions

View File

@@ -1,6 +1,5 @@
import java.text.SimpleDateFormat
apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'me.tatarka.retrolambda'
@@ -29,6 +28,10 @@ ext {
}
}
def includeUpdater() {
return hasProperty("include_updater");
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
@@ -45,6 +48,7 @@ android {
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""
buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\""
buildConfigField "String", "BUILD_TIME", "\"${getBuildTime()}\""
buildConfigField "boolean", "INCLUDE_UPDATER", "${includeUpdater()}"
}
compileOptions {