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>
|
<plugin>
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
<artifactId>android-maven-plugin</artifactId>
|
||||||
<version>3.5.0</version>
|
<version>3.6.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sdk>
|
<sdk>
|
||||||
<path>${env.ANDROID_HOME}</path>
|
<path>${env.ANDROID_HOME}</path>
|
||||||
|
@ -167,6 +167,10 @@
|
||||||
<storepass>${sign.storepass}</storepass>
|
<storepass>${sign.storepass}</storepass>
|
||||||
<keypass>${sign.keypass}</keypass>
|
<keypass>${sign.keypass}</keypass>
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
|
<arguments>
|
||||||
|
<argument>-sigalg</argument><argument>MD5withRSA</argument>
|
||||||
|
<argument>-digestalg</argument><argument>SHA1</argument>
|
||||||
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
@ -190,10 +194,11 @@
|
||||||
</zipalign>
|
</zipalign>
|
||||||
<manifest>
|
<manifest>
|
||||||
<debuggable>false</debuggable>
|
<debuggable>false</debuggable>
|
||||||
<versionCodeAutoIncrement>true</versionCodeAutoIncrement>
|
<versionCodeAutoIncrement>false</versionCodeAutoIncrement>
|
||||||
</manifest>
|
</manifest>
|
||||||
<proguard>
|
<proguard>
|
||||||
<skip>true</skip>
|
<skip>false</skip>
|
||||||
|
<config>proguard.cfg</config>
|
||||||
</proguard>
|
</proguard>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
|
@ -8,6 +8,11 @@
|
||||||
-optimizations !code/simplification/arithmetic
|
-optimizations !code/simplification/arithmetic
|
||||||
-keepattributes *Annotation*
|
-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.Activity
|
||||||
-keep public class * extends android.app.Application
|
-keep public class * extends android.app.Application
|
||||||
-keep public class * extends android.app.Service
|
-keep public class * extends android.app.Service
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="src" path="gen"/>
|
<classpathentry kind="src" path="gen"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/AntennaPod"/>
|
<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"/>
|
<classpathentry kind="output" path="bin/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
Loading…
Reference in New Issue