Этот коммит содержится в:
Anton Tananaev
2015-08-23 20:11:39 +12:00
родитель 16f743e90a
Коммит 5f7a1a8bfd
2 изменённых файлов: 10 добавлений и 11 удалений
+10 -10
Просмотреть файл
@@ -2,21 +2,21 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 22 compileSdkVersion 22
buildToolsVersion "22.0.1" buildToolsVersion '22.0.1'
defaultConfig { defaultConfig {
minSdkVersion 3 minSdkVersion 3
targetSdkVersion 22 targetSdkVersion 22
versionCode 25 versionCode 25
versionName "3.5" versionName '3.5'
} }
signingConfigs { signingConfigs {
release { release {
storeFile file('../../android.keystore') storeFile file('../../android.keystore')
keyAlias "tananaev" keyAlias 'tananaev'
storePassword "" storePassword ''
keyPassword "" keyPassword ''
} }
} }
@@ -30,16 +30,16 @@ android {
dependencies { dependencies {
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
testCompile "org.robolectric:robolectric:3.0" testCompile 'org.robolectric:robolectric:3.0'
} }
task requestPasswords << { task requestPasswords << {
android.signingConfigs.release.storePassword = new String(System.console().readPassword("\nStore password: ")) android.signingConfigs.release.storePassword = new String(System.console().readPassword('\nStore password: '))
android.signingConfigs.release.keyPassword = new String(System.console().readPassword("Key password: ")) android.signingConfigs.release.keyPassword = new String(System.console().readPassword('Key password: '))
} }
tasks.whenTaskAdded { theTask -> tasks.whenTaskAdded { theTask ->
if (theTask.name.equals("packageRelease")) { if (theTask.name.equals('packageRelease')) {
theTask.dependsOn "requestPasswords" theTask.dependsOn 'requestPasswords'
} }
} }
-1
Просмотреть файл
@@ -76,7 +76,6 @@ public class TrackingService extends Service {
if (intent != null) { if (intent != null) {
AutostartReceiver.completeWakefulIntent(intent); AutostartReceiver.completeWakefulIntent(intent);
} }
} }
@TargetApi(Build.VERSION_CODES.ECLAIR) @TargetApi(Build.VERSION_CODES.ECLAIR)