-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/gzu-liyujiang/AndroidPicker
- Loading branch information
Showing
4 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
# -r: replace existing application | ||
# -d: allow version code downgrade | ||
|
||
#adb install -r -d ./app/build/outputs/apk/app-release.apk | ||
|
||
/home/liyujiang/Android/Sdk/platform-tools/adb install -r -d ./app/build/outputs/apk/app-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@rem C:\Users\Administrator\.m2\repository | ||
@rem http://jcenter.bintray.com | ||
./gradlew.bat publishToMavenLocal bintrayUpload --stacktrace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
p="$1"; | ||
if [ -z "${p}" ]; then | ||
echo "can use parameter 'upload' to upload to jcenter, too"; | ||
p="null"; | ||
fi | ||
echo "parameter is ${p}"; | ||
|
||
if [ ${p} = "upload" ]; then | ||
# http://jcenter.bintray.com | ||
./gradlew publishToMavenLocal bintrayUpload --stacktrace | ||
else | ||
#/home/liyujiang/.m2/repository | ||
./gradlew publishToMavenLocal --stacktrace | ||
fi |