diff --git a/.gitignore b/.gitignore index 60efe16e8..bac4bb530 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ *.swp +gen/* bin/* tests/bin/* +local.properties +secure.properties diff --git a/BUILDING.txt b/BUILDING.txt new file mode 100644 index 000000000..d77800e53 --- /dev/null +++ b/BUILDING.txt @@ -0,0 +1,2 @@ +You can use ant, Eclipse, IntelliJ IDEA, or pretty much any IDE +to compile this library app. diff --git a/ant.properties b/ant.properties new file mode 100644 index 000000000..e0aea54fb --- /dev/null +++ b/ant.properties @@ -0,0 +1,6 @@ +# +# Set the keystore properties for signing the application. +# +key.store=/home/eyedol/Devel/Android-keys/ushahidi-key.keystore +key.alias=ushahidi-android + diff --git a/build.xml b/build.xml new file mode 100644 index 000000000..8b9192623 --- /dev/null +++ b/build.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/proguard.cfg b/proguard.cfg new file mode 100644 index 000000000..b1cdf17b5 --- /dev/null +++ b/proguard.cfg @@ -0,0 +1,40 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class * extends android.app.backup.BackupAgentHelper +-keep public class * extends android.preference.Preference +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native ; +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/secure.properties b/secure.properties new file mode 100644 index 000000000..6bb0ec79b --- /dev/null +++ b/secure.properties @@ -0,0 +1,2 @@ +key.store.password=godles +key.alias.password=godles