Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
36de685b
Commit
36de685b
authored
May 25, 2017
by
Sébastiaan Versteeg
Committed by
Sébastiaan Versteeg
May 25, 2017
Browse files
Add automatic adb reseverse port 8000 to gradle build for Android
parent
b2f4dd3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
android/app/build.gradle
View file @
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
()
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment