Skip to content

Commit

Permalink
Refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysZP committed Apr 3, 2018
1 parent 5d0777d commit 15705a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ android {
}
shopifyApi {
dimension "api"

def shopappShopifyVersion = project.getProperties().get("shopappShopifyVersion")
shopappShopifyVersion = shopappShopifyVersion != null ? shopappShopifyVersion : "1.0.2"
apiLibrary = "com.github.rubygarage:shopapp-shopify-android:$shopappShopifyVersion"
if (shopappShopifyVersion != null) {
apiLibrary = "com.github.rubygarage:shopapp-shopify-android:$shopappShopifyVersion"
}

def appId = project.getProperties().get("appId")
applicationId = appId != null ? appId : applicationId
Expand Down

0 comments on commit 15705a1

Please sign in to comment.