Skip to content

Instantly share code, notes, and snippets.

@yasiralijaved
Last active May 2, 2018 18:31
Show Gist options
  • Save yasiralijaved/d7d5ab028d70f26bf048db68831e5f6f to your computer and use it in GitHub Desktop.
Save yasiralijaved/d7d5ab028d70f26bf048db68831e5f6f to your computer and use it in GitHub Desktop.
app level build.gradle file to configure Slack extension for sending the New Build related messages to a Slack Channel using Channel's WebHook
// Slack Plugin For Gradle. https://github.com/Mindera/gradle-slack-plugin
slack {
url 'https://hooks.slack.com/services/abc/abc/abc'
dependsOnTasks 'crashlyticsUploadDistributionInternalQA',
'crashlyticsUploadDistributionExternalQA'
title "*```New Build Available | ${version} (${gitCommitCount()})] ```*https://fabric.io/url/to/myapp"
enabled = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment