Fixed build config files
Added support for proguard in maven build process, fixed signing issues with maven
This commit is contained in:
parent
c93fb8acc0
commit
7b2a278fc5
11
pom.xml
11
pom.xml
|
@ -87,7 +87,7 @@
|
|||
<plugin>
|
||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
<version>3.6.0</version>
|
||||
<configuration>
|
||||
<sdk>
|
||||
<path>${env.ANDROID_HOME}</path>
|
||||
|
@ -167,6 +167,10 @@
|
|||
<storepass>${sign.storepass}</storepass>
|
||||
<keypass>${sign.keypass}</keypass>
|
||||
<verbose>true</verbose>
|
||||
<arguments>
|
||||
<argument>-sigalg</argument><argument>MD5withRSA</argument>
|
||||
<argument>-digestalg</argument><argument>SHA1</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
@ -190,10 +194,11 @@
|
|||
</zipalign>
|
||||
<manifest>
|
||||
<debuggable>false</debuggable>
|
||||
<versionCodeAutoIncrement>true</versionCodeAutoIncrement>
|
||||
<versionCodeAutoIncrement>false</versionCodeAutoIncrement>
|
||||
</manifest>
|
||||
<proguard>
|
||||
<skip>true</skip>
|
||||
<skip>false</skip>
|
||||
<config>proguard.cfg</config>
|
||||
</proguard>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
-optimizations !code/simplification/arithmetic
|
||||
-keepattributes *Annotation*
|
||||
|
||||
#-libraryjars libs/android-support-v4.jar
|
||||
#-libraryjars libs/commons-lang3-3.1.jar
|
||||
#-libraryjars libs/flattr4j-core-2.4.jar
|
||||
#-libraryjars libs/commons-io-2.4.jar
|
||||
|
||||
-keep public class * extends android.app.Activity
|
||||
-keep public class * extends android.app.Application
|
||||
-keep public class * extends android.app.Service
|
||||
|
|
|
@ -5,5 +5,6 @@
|
|||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/AntennaPod"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
||||
|
|
Loading…
Reference in New Issue