Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions VERSIONS.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ def RESOURCE_PREFIX = "mauron85_bgloc_"
ext {
getApplicationId = { ->
def applicationId = "com.marianhello.app"
if (findProject('..:app') != null) {
if (rootProject.hasProperty('applicationId')) {
applicationId = rootProject.applicationId
} else if (findProject('..:app') != null) {
applicationId = project('..:app').android.defaultConfig.applicationId
} else if (findProject(':app') != null) {
applicationId = project(':app').android.defaultConfig.applicationId
}
if (rootProject.hasProperty('applicationId')) {
applicationId = rootProject.applicationId
}
return applicationId
}

Expand Down