Skip to content

Instantly share code, notes, and snippets.

Enjoying Kotlin since 2017!

Sebastian Schuberth sschuberth

Enjoying Kotlin since 2017!
View GitHub Profile
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
// 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(['preDexEnable'])
sschuberth /
Created Jul 25, 2012 — forked from marshall/
kill a running android process without eclipse
#!/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