Commit 36de685b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Sébastiaan Versteeg
Browse files

Add automatic adb reseverse port 8000 to gradle build for Android

parent b2f4dd3a
......@@ -139,3 +139,11 @@ task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
gradle.projectsEvaluated {
installDebug.doLast {
println 'Running `adb reverse tcp:8000 tcp:8000`'
def processBuilder = new ProcessBuilder(['adb', 'reverse', 'tcp:8000', 'tcp:8000'])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment