This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gradle Plugin to publish APK to Google PlayStore right from the Gradle Task. | |
// https://github.com/Triple-T/gradle-play-publisher | |
apply plugin: 'com.github.triplet.play' | |
// Fabric.io Plugin | |
apply plugin: 'io.fabric' | |
// Slack Plugin For Gradle. https://github.com/Mindera/gradle-slack-plugin | |
apply plugin: 'com.mindera.gradle.slack' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Used by Jenkins to distribute apk among External Testers via Fabric Beta | |
task externalQADist (type: GradleBuild) { | |
group 'MyApp Distribution' | |
description 'Task for Jenkins to distribute Build for External QA' | |
tasks = ['clean', | |
'cleanBuildCache', | |
'assembleExternalQA', | |
'crashlyticsUploadDistributionExternalQA'] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Used by Jenkins to distribute apk among Internal Testers via Fabric Beta | |
task internalQADist (type: GradleBuild) { | |
group 'MyApp Distribution' | |
description 'Task for Jenkins to distribute Build for Internal QA' | |
tasks = ['clean', | |
'cleanBuildCache', | |
'assembleInternalQA', | |
'crashlyticsUploadDistributionInternalQA'] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<a href="javascript:(function () { | |
var host = 'http://www.guardian.co.uk/'; | |
var url = document.location.href; | |
if (url.indexOf(host) == 0) { | |
var dir = url.substring(host.length); | |
var FACEBOOK_GUARDIAN = 'https://apps.facebook.com/theguardian/'; | |
document.location.href = FACEBOOK_GUARDIAN + dir; | |
} |