oliviergauthier / gradle-appcenter-plugin

This gradle plugin allow you to upload each build variant of your android application to separate AppCenter Apps.
MIT License
84 stars 44 forks source link

Support for uploading NDK symbols.zip #27

Closed jasonschroeder-sfdc closed 4 years ago

jasonschroeder-sfdc commented 4 years ago

We have an Android app with native libraries and that requires a "symbols.zip" to be uploaded. See https://docs.microsoft.com/en-us/appcenter/sdk/crashes/android#symbolication

oliviergauthier commented 4 years ago

I have added "symbols" configuration working like distribution group. It expected to be a liste of file or filename. Can you check if it fit your needs ?

appcenter {
    apiToken = project.properties.get("apiToken", "")
    ownerName = project.properties.get("ownerName", "")
    distributionGroups = ["Collaborators"]
    releaseNotes = "A Sample Upload"
    notifyTesters = false
    symbols = [ "symbols.zip" ]
    apps {
        alpha {
            dimension = "environment"
            appName = "GradleSample"
        }
        beta {
            dimension = "environment"
            appName = "GradleSample"
        }
    }
}

Thanks

jasonschroeder-sfdc commented 4 years ago

Thank you so much @oliviergauthier , we will check it out today!

JiaYangSF commented 4 years ago

Hello @oliviergauthier, I followed your suggestion, but still didn't see symbols file being uploaded. I wonder if the symbols file needs to be in a specific dir for the plugin to identify it? Can you show me the symbols.zip location?