Update build scripts and add Play Store filter
This commit is contained in:
parent
65da823bd8
commit
a3e2a74249
2 changed files with 5 additions and 2 deletions
|
|
@ -8,7 +8,10 @@
|
||||||
android:minSdkVersion="9"
|
android:minSdkVersion="9"
|
||||||
android:targetSdkVersion="10" />
|
android:targetSdkVersion="10" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||||
|
<uses-configuration
|
||||||
|
android:reqFiveWayNav="true"
|
||||||
|
android:reqHardKeyboard="true"
|
||||||
|
/>
|
||||||
<application
|
<application
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ def computeVersionName = { ->
|
||||||
String ver = "git-source"
|
String ver = "git-source"
|
||||||
try {
|
try {
|
||||||
if (execThing(" git status -z").toString().trim().equals("")) {
|
if (execThing(" git status -z").toString().trim().equals("")) {
|
||||||
return execThing(' git log -1 --format="%h"').toString().trim()
|
return "git-" + execThing(' git log -1 --format="%h"').toString().trim()
|
||||||
} else {
|
} else {
|
||||||
return ver
|
return ver
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue