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 / 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 / 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
strong Highly Cohesive Software Programming
p let's pretend you're a software engineer
// Fragments are revealed on slide next
jakeouellette /
Last active Apr 3, 2017
Example shell script to pull Crashlytics Gradle plugin and call it
# 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

Fabric Android shell


This is the doc for

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.