Skip to content

Instantly share code, notes, and snippets.

View omainegra's full-sized avatar

Omar Alejandro Mainegra Sarduy omainegra

  • Winnipeg, Canada
View GitHub Profile
@omainegra
omainegra / TimberFirebase.java
Created July 16, 2017 21:17 — forked from hanspeide/TimberFirebase.java
Timber tree for use with Firebase Crash Reporting. Basically a copy/rewrite of Jake Wharton's CrashlyticsTree.
private static class FirebaseTree extends Timber.Tree {
@Override
protected void log(int priority, String tag, String message, Throwable t) {
if (priority == Log.VERBOSE || priority == Log.DEBUG) {
return;
}
FirebaseCrash.log(message);
if (t != null) {
@omainegra
omainegra / init.gradle
Last active April 5, 2016 22:09 — forked from mosabua/init.gradle
init.gradle file for proxying all repositories with Sonatype Nexus
/**
* init.gradle file for development using Nexus as proxy repository
*
* @author Manfred Moser <manfred@simpligility.com
*/
apply plugin:NexusRepositoryPlugin
class NexusRepositoryPlugin implements Plugin<Gradle> {