Use single quotes in gradle
Этот коммит содержится в:
+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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user