Skip to content

Instantly share code, notes, and snippets.

Jake Ouellette jakeouellette

Block or report user

Report or block jakeouellette

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jakeouellette
jakeouellette / resourceinjection.gradle
Last active Aug 29, 2015
Inject XML resources after variants are merged
View resourceinjection.gradle
// Here's a trick to get XML injected into the APK.
// Be careful not to merge-conflict with existing parameters, as this occurs after the mergeResources step, and the behavior is likely undefined.
// was added to app/build.gradle after applying android plugin.
android.applicationVariants.all { variant ->
// Supports both 0.12.+ and 1.+ of Android gradle plugin by getting all processResourceTasks:
def tasks = []
// Multidex has multiple process resource tasks
if (variant.hasProperty('outputs')) {
for (output in variant.outputs) {
@jakeouellette
jakeouellette / index.jade
Created Aug 25, 2015
Cohesive Software Engineering Talk
View index.jade
extends ./layout.jade
// This talk requires a combination of reveal.js, Jade, and some style sheets I made to support it.
block slides
section
strong Highly Cohesive Software Programming
section
p let's pretend you're a software engineer
// Fragments are revealed on slide next
@jakeouellette
jakeouellette / fabric-android-shell.sh
Last active Apr 3, 2017
Example shell script to pull Crashlytics Gradle plugin and call it
View fabric-android-shell.sh
#!/bin/sh
# Copyright 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# https://www.apache.org/licenses/LICENSE-2.0
View fabric-android-shell-readme.md

Fabric Android shell

Overview

This is the doc for fabric-android-shell.sh

Invoking the Fabric plugin by standalone (non-jvm) processes So our plugin has 3 responsibilities:

  • (pre-build) Enable your app on our backend
You can’t perform that action at this time.