Build DashClock with gradle
* Found out that vercode is actually 30 (see main/version.properties) * Added basename.patch to fix case of archivesBaseName value (dashclock -> DashClock)
This commit is contained in:
parent
ce657469c3
commit
598fbdf52e
|
@ -40,27 +40,14 @@ sed -i '59\,74d' res/values-es/strings.xml && \
|
|||
cd ../../../ && echo "source.dir=$PWD/main/src/main/java;$PWD/api/src/main/java;\
|
||||
$PWD/main/src/main/aidl;$PWD/api/src/main/aidl" >> main/src/main/ant.properties
|
||||
|
||||
Build:1.6,26
|
||||
Build:1.6,30
|
||||
commit=v1.6
|
||||
subdir=main/src/main
|
||||
target=android-19
|
||||
init=touch project.properties
|
||||
forceversion=yes
|
||||
forcevercode=yes
|
||||
extlibs=android/android-support-v13.jar
|
||||
srclibs=1:DragSort@0.6.1
|
||||
patch=code_26.patch;disable_gplay.diff
|
||||
prebuild=cd ../../../ && \
|
||||
echo "source.dir=$PWD/main/src/main/java;$PWD/api/src/main/java;$PWD/main/src/main/aidl;$PWD/api/src/main/aidl" >> main/src/main/ant.properties
|
||||
gradle=yes
|
||||
patch=code_30.patch;disable_gplay.diff;basename.patch
|
||||
prebuild=echo "sdk.dir=$ANDROID_HOME" > local.properties && ln -s main/build
|
||||
|
||||
Maintainer Notes:
|
||||
No build system whatsoever. No versions, no target api level, no build.gradle/project.properties, etcetera.
|
||||
|
||||
The lack of these makes for an unnecessarily large apk amongst other possible issues.
|
||||
.
|
||||
|
||||
Auto Update Mode:None
|
||||
Auto Update Mode:Version %v
|
||||
Update Check Mode:Tags
|
||||
Current Version:1.6
|
||||
Current Version Code:26
|
||||
Current Version Code:30
|
||||
|
||||
|
|
13
metadata/net.nurik.roman.dashclock/basename.patch
Normal file
13
metadata/net.nurik.roman.dashclock/basename.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/main/build.gradle b/main/build.gradle
|
||||
index 14b8eb7..c7acb15 100644
|
||||
--- a/main/build.gradle
|
||||
+++ b/main/build.gradle
|
||||
@@ -25,7 +25,7 @@ buildscript {
|
||||
|
||||
apply plugin: 'android'
|
||||
|
||||
-project.archivesBaseName = "dashclock"
|
||||
+project.archivesBaseName = "DashClock"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
|
@ -2,6 +2,8 @@ diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.x
|
|||
index 307e779..d635d22 100755
|
||||
diff --git a/main/src/main/java/com/google/android/apps/dashclock/weather/WeatherExtension.java b/main/src/main/java/com/google/android/apps/dashclock/weather/WeatherExtension.java
|
||||
index b9aec91..5119fa2 100644
|
||||
diff --git a/main/build.gradle b/main/build.gradle
|
||||
index 14b8eb7..e04e756 100644
|
||||
--- a/main/src/main/AndroidManifest.xml
|
||||
+++ b/main/src/main/AndroidManifest.xml
|
||||
@@ -283,9 +283,6 @@
|
||||
|
@ -174,3 +176,14 @@ index b9aec91..5119fa2 100644
|
|||
disableOneTimeLocationListener();
|
||||
}
|
||||
|
||||
--- a/main/build.gradle
|
||||
+++ b/main/build.gradle
|
||||
@@ -36,8 +36,6 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:support-v13:18.0.0'
|
||||
- compile 'com.google.android.gms:play-services:4.0.30'
|
||||
- //compile 'com.mobeta.android.dslv:drag-sort-listview:0.6.1-SNAPSHOT-AAR'
|
||||
compile 'com.mobeta.android.dslv:drag-sort-listview:0.6.1-SNAPSHOT-AAR@aar'
|
||||
compile project(':api')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue