Skip to content

Instantly share code, notes, and snippets.

@davetrux
Created August 3, 2016 17:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davetrux/ed648e69fb964c90d8ff71a63118a13f to your computer and use it in GitHub Desktop.
Save davetrux/ed648e69fb964c90d8ff71a63118a13f to your computer and use it in GitHub Desktop.
Gradle-Openbakery BundleId Switch
if(buildType == "AppStore") {
infoplist {
bundleIdentifier = "com.hpe.appstore"
}
signing {
mobileProvisionURI = 'file://' + currentPath + appStoreProfile
certificateURI = "file://" + currentPath + appStoreCert
certificatePassword = certPassword
}
} else if(buildType == "Enterprise") {
infoplist {
bundleIdentifier = "com.hpe.enterprise"
}
signing {
mobileProvisionURI = 'file://' + currentPath + enterpriseProfile
certificateURI = "file://" + currentPath + enterpriseCert
certificatePassword = certPassword
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment