Commit b0a3f90e authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Merge branch 'feature/adb-8000-install' into 'master'

Add automatic adb reseverse port 8000 to gradle build for Android

See merge request !16
parents b2f4dd3a 36de685b
......@@ -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'])
processBuilder.start()
}
}
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