TreyWurm
TreyWurm

Reputation: 564

Is there a way to prevent sentry-cli from being called while building?

We have a self-hosted sentry instance for dev build. The server is currently down and the responsible/authorized person not accessible. The problem that i am facing right now is that my buildtime for my android project increased from ~10sec -> ~3min, which really feels frustrating waiting all the time.

I am using gradle for building and tried all of the following flags to prevent interacting with the currently down server, but gradle still seems to launch sentry-cli, which runs into a timeout after a few minutes.

sentry {
    ignoredBuildTypes = listOf("debug")
    includeProguardMapping = false
    includeSourceContext = false
    autoUploadProguardMapping = false
    autoUploadNativeSymbols = false
    autoUploadSourceContext = false
    uploadNativeSymbols = false
    dexguardEnabled = false

} 

Is there a way to completely prevent sentry-cli from being executed? Or any other flags I missed?

Upvotes: 0

Views: 26

Answers (0)

Related Questions