Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Rename for better clarifying
Browse files Browse the repository at this point in the history
  • Loading branch information
x2on committed Dec 16, 2014
1 parent 525ab64 commit e99344d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class HockeyAppUploadTask extends DefaultTask {
File mappingFile
String variantName
ApplicationVariant applicationVariant
boolean mightHaveMapping = true // Specify otherwise in Android config
boolean mappingFileCouldBePresent = true
HockeyAppPluginExtension hockeyApp


Expand All @@ -82,7 +82,7 @@ class HockeyAppUploadTask extends DefaultTask {
if (applicationVariant.getObfuscation()) {
mappingFile = applicationVariant.getMappingFile()
} else {
mightHaveMapping = false
mappingFileCouldBePresent = false
}
}

Expand All @@ -107,7 +107,7 @@ class HockeyAppUploadTask extends DefaultTask {

// Retrieve mapping file if not using Android Gradle Plugin
// Requires it to be set in the project config
if (mightHaveMapping && !mappingFile && hockeyApp.symbolsDirectory?.exists()) {
if (mappingFileCouldBePresent && !mappingFile && hockeyApp.symbolsDirectory?.exists()) {
symbolsDirectory = hockeyApp.symbolsDirectory
mappingFile = getFile(hockeyApp.mappingFileNameRegex, symbolsDirectory);

Expand Down

0 comments on commit e99344d

Please sign in to comment.