Releasing application version 1.1

master
Tomasz Półgrabia 2016-10-10 21:20:45 +02:00
parent 23da6515ce
commit 6f229e0f33
8 changed files with 14 additions and 37 deletions

View File

@ -35,8 +35,8 @@ android {
applicationId "pl.tpolgrabia.urbanexplorer" applicationId "pl.tpolgrabia.urbanexplorer"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 21 targetSdkVersion 21
versionCode 3 versionCode 4
versionName "1.0.2" versionName "1.1"
} }
signingConfigs { signingConfigs {

View File

@ -19,8 +19,8 @@
-keepattributes Signature -keepattributes Signature
-keepattributes InnerClasses -keepattributes InnerClasses
-dontwarn ch.qos.logback.core.net.** -dontwarn ch.qos.logback.core.net.**
# -assumenosideeffects class ch.qos.logback.** { *; } -assumenosideeffects class ch.qos.logback.** { *; }
# -assumenosideeffects class org.slf4j.** { *; } -assumenosideeffects class org.slf4j.** { *; }
-keep class com.crashlytics.** { *; } -keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.** -dontwarn com.crashlytics.**
-dontwarn retrofit2.** -dontwarn retrofit2.**

View File

@ -1,23 +1,5 @@
<configuration> <configuration>
<property name="LOG_DIR" value="/sdcard/urbanexplorer" />
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!-- active log file -->
<file>${LOG_DIR}/logs/urban-explorer.txt</file>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%-20thread] %-5level %logger{36} - %msg\n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover period -->
<fileNamePattern>${LOG_DIR}/log.%d.txt</fileNamePattern>
<!-- keep 7 days' worth of history -->
<maxHistory>7</maxHistory>
</rollingPolicy>
</appender>
<appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender"> <appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender">
<tagEncoder> <tagEncoder>
<pattern>%logger{12}</pattern> <pattern>%logger{12}</pattern>
@ -27,12 +9,7 @@
</encoder> </encoder>
</appender> </appender>
<logger name="pl.tpolgrabia.urbanexplorer" level="ALL"> <root level="NONE">
<appender-ref ref="logcat" />
<appender-ref ref="FILE" />
</logger>
<root level="INFO">
<appender-ref ref="logcat" /> <appender-ref ref="logcat" />
</root> </root>

View File

@ -6,7 +6,7 @@ import java.util.Locale;
* Created by tpolgrabia on 27.08.16. * Created by tpolgrabia on 27.08.16.
*/ */
public class AppConstants { public class AppConstants {
public static final AppStage RELEASE = AppStage.RELEASE_CANDIDATE; public static final AppStage RELEASE = AppStage.FINAL;
public static final float MIN_DISTANCE = 100; public static final float MIN_DISTANCE = 100;
public static final long GPS_LOCATION_UPDATE_FREQ = 15000; public static final long GPS_LOCATION_UPDATE_FREQ = 15000;
public static final float GPS_LOCATION_DISTANCE_FREQ = MIN_DISTANCE; public static final float GPS_LOCATION_DISTANCE_FREQ = MIN_DISTANCE;

View File

@ -48,8 +48,8 @@
-keep class javax.inject.** { *; } -keep class javax.inject.** { *; }
-keep class retrofit.** { *; } -keep class retrofit.** { *; }
-keep class ch.qos.logback.** { *; } -assumenosideeffects class ch.qos.logback.** { *; }
-keep class org.slf4j.** { *; } -assumenosideeffects class org.slf4j.** { *; }
# Proguard rules for retrofit # Proguard rules for retrofit

View File

@ -7,8 +7,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 21 targetSdkVersion 21
versionCode 1 versionCode 2
versionName "1.0" versionName "1.0.1"
} }
buildTypes { buildTypes {
release { release {

View File

@ -7,8 +7,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 21 targetSdkVersion 21
versionCode 1 versionCode 2
versionName "1.0" versionName "1.0.1"
} }
buildTypes { buildTypes {
release { release {

View File

@ -7,8 +7,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 21 targetSdkVersion 21
versionCode 1 versionCode 2
versionName "1.0" versionName "1.0.1"
} }
buildTypes { buildTypes {
release { release {