Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Enjoying Kotlin since 2017!

Sebastian Schuberth sschuberth

:octocat:
Enjoying Kotlin since 2017!
View GitHub Profile
@sschuberth
sschuberth / test
Last active Aug 9, 2016
commit msg?
View build.gradle
// add this to the general build.gradle, not in the subproject's build.gradle
// improved version of Xavier's tip http://tools.android.com/tech-docs/new-build-system/tips#TOC-Improving-Build-Server-performance.
// usage example default, preDex will be enabled: gradle clean build
// usage example disabling preDex: gradle clean build -PpreDexEnable=false
// preDexEnable parameter's value can be set as property of Continuous Integration build config
// this is the main difference from Xavier's workaround where he doing only hasProperty check
project.ext {
project.ext.preDexLibs = !'false'.equals(project.properties['preDexEnable'])
@sschuberth
sschuberth / adb_kill.py
Created Jul 25, 2012 — forked from marshall/adb_kill.py
kill a running android process without eclipse
View adb_kill.py
#!/usr/bin/python -O
# Kill a running Android JDWP (debuggable) process without Eclipse.
import sys
import socket
import struct
import uuid
import random
import subprocess