Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
whataudoinghere committed Mar 5, 2018
1 parent c4dd4d5 commit 4934ca8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
}
}

Expand All @@ -15,16 +15,17 @@ apply plugin: 'com.google.protobuf'

android {
compileSdkVersion 27
buildToolsVersion '26.0.0'
buildToolsVersion '26.0.2'

defaultConfig {
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.6"
versionName "1.6.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField 'String', 'BUILD_TIME', 'new java.text.SimpleDateFormat("E dd.MM.yy HH:mm:ss a", java.util.Locale.ENGLISH).format(new java.util.Date(' + System.currentTimeMillis() +'L))'
buildConfigField 'String', 'BUILD_HOST', '"' + InetAddress.getLocalHost().getHostName() + '"'
buildConfigField 'String', 'BUILD_WHOAMI', '"' + System.getProperty("user.name") + '"'
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void onCreate(Bundle bundle) {
} catch (PackageManager.NameNotFoundException ex) {
Log.e("SettingsActivity", "Unable to load my own package info", ex);
}
findPreference(APP_BUILD_DATE_PREF).setSummary(BuildConfig.BUILD_TIME + "\n" + "(" + BuildConfig.BUILD_HOST + ")");
findPreference(APP_BUILD_DATE_PREF).setSummary(BuildConfig.BUILD_TIME + "\n" + "(" + BuildConfig.BUILD_HOST + "/" + BuildConfig.BUILD_WHOAMI + ")");

mIconPackPref = (CustomIconPreference) findPreference(ICON_PACK_PREF);
mIconPackPref.setOnPreferenceChangeListener(this);
Expand Down

0 comments on commit 4934ca8

Please sign in to comment.