Removed maven build files
This commit is contained in:
parent
4b1b271ca9
commit
76add8ef68
269
pom.xml
269
pom.xml
|
@ -1,269 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>de.danoeh</groupId>
|
|
||||||
<artifactId>antennapod</artifactId>
|
|
||||||
<packaging>apk</packaging>
|
|
||||||
<version>0.9.9.3</version>
|
|
||||||
<name>AntennaPod</name>
|
|
||||||
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>android.support</groupId>
|
|
||||||
<artifactId>compatibility-v4</artifactId>
|
|
||||||
<version>19</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>android.support</groupId>
|
|
||||||
<artifactId>compatibility-v7-appcompat</artifactId>
|
|
||||||
<version>19</version>
|
|
||||||
<type>apklib</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>android.support</groupId>
|
|
||||||
<artifactId>compatibility-v7-appcompat</artifactId>
|
|
||||||
<version>19</version>
|
|
||||||
<type>jar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.google.android</groupId>
|
|
||||||
<artifactId>android-test</artifactId>
|
|
||||||
<version>2.2.1</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-lang3</artifactId>
|
|
||||||
<version>3.1</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.shredzone.flattr4j</groupId>
|
|
||||||
<artifactId>flattr4j-core</artifactId>
|
|
||||||
<version>2.7</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpcore</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
|
||||||
<artifactId>httpclient</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>org.json</groupId>
|
|
||||||
<artifactId>json</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>android</groupId>
|
|
||||||
<artifactId>android</artifactId>
|
|
||||||
<scope>provided</scope>
|
|
||||||
<version>4.4_r1</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.google.android.annotations</groupId>
|
|
||||||
<artifactId>annotations</artifactId>
|
|
||||||
<version>22.3</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>commons-io</groupId>
|
|
||||||
<artifactId>commons-io</artifactId>
|
|
||||||
<version>2.4</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.mobeta.android.dslv</groupId>
|
|
||||||
<artifactId>drag-sort-listview</artifactId>
|
|
||||||
<version>0.6.1-SNAPSHOT</version>
|
|
||||||
<type>apklib</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.nineoldandroids</groupId>
|
|
||||||
<artifactId>library</artifactId>
|
|
||||||
<version>2.4.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.aocate</groupId>
|
|
||||||
<artifactId>presto_client</artifactId>
|
|
||||||
<version>0.8.5</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<scope>system</scope>
|
|
||||||
<systemPath>${project.basedir}/libs/presto_client-0.8.5.jar</systemPath>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<sourceDirectory>src</sourceDirectory>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>2.3.2</version>
|
|
||||||
<configuration>
|
|
||||||
<source>1.6</source>
|
|
||||||
<target>1.6</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
|
||||||
<version>3.8.0</version>
|
|
||||||
<configuration>
|
|
||||||
<sdk>
|
|
||||||
<path>${env.ANDROID_HOME}</path>
|
|
||||||
<platform>19</platform>
|
|
||||||
</sdk>
|
|
||||||
<manifest>
|
|
||||||
<debuggable>true</debuggable>
|
|
||||||
</manifest>
|
|
||||||
</configuration>
|
|
||||||
<extensions>true</extensions>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>alignApk</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>zipalign</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>development</id>
|
|
||||||
<!-- using this since activeByDefault does not work well with multiple
|
|
||||||
profiles -->
|
|
||||||
<activation>
|
|
||||||
<property>
|
|
||||||
<name>environment</name>
|
|
||||||
<value>!production</value>
|
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<properties>
|
|
||||||
<deployment.stage>In Development</deployment.stage>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>production</id>
|
|
||||||
<properties>
|
|
||||||
<deployment.stage>In Production</deployment.stage>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>release</id>
|
|
||||||
<!-- via this activation the profile is automatically used when the release
|
|
||||||
is done with the maven release plugin -->
|
|
||||||
<activation>
|
|
||||||
<property>
|
|
||||||
<name>performRelease</name>
|
|
||||||
<value>true</value>
|
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>signing</id>
|
|
||||||
<goals>
|
|
||||||
<goal>sign</goal>
|
|
||||||
<goal>verify</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>package</phase>
|
|
||||||
<inherited>true</inherited>
|
|
||||||
<configuration>
|
|
||||||
<removeExistingSignatures>true</removeExistingSignatures>
|
|
||||||
<archiveDirectory />
|
|
||||||
<includes>
|
|
||||||
<include>${project.build.directory}/${project.artifactId}-${project.version}.apk</include>
|
|
||||||
</includes>
|
|
||||||
<keystore>${sign.keystore}</keystore>
|
|
||||||
<alias>${sign.alias}</alias>
|
|
||||||
<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>
|
|
||||||
</plugin>
|
|
||||||
<!-- the signed apk then needs to be zipaligned and we activate proguard
|
|
||||||
and we run the manifest update -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
|
||||||
<inherited>true</inherited>
|
|
||||||
<configuration>
|
|
||||||
<sign>
|
|
||||||
<debug>false</debug>
|
|
||||||
</sign>
|
|
||||||
<zipalign>
|
|
||||||
<skip>false</skip>
|
|
||||||
<verbose>true</verbose>
|
|
||||||
<inputApk>${project.build.directory}/${project.artifactId}-${project.version}.apk</inputApk>
|
|
||||||
<outputApk>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk
|
|
||||||
</outputApk>
|
|
||||||
</zipalign>
|
|
||||||
<manifest>
|
|
||||||
<debuggable>false</debuggable>
|
|
||||||
<versionCodeAutoIncrement>false</versionCodeAutoIncrement>
|
|
||||||
</manifest>
|
|
||||||
<proguard>
|
|
||||||
<skip>false</skip>
|
|
||||||
<config>proguard-mvn.cfg</config>
|
|
||||||
</proguard>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>alignApk</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>zipalign</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<artifacts>
|
|
||||||
<artifact>
|
|
||||||
<file>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk</file>
|
|
||||||
<type>apk</type>
|
|
||||||
<classifier>signed-aligned</classifier>
|
|
||||||
</artifact>
|
|
||||||
<artifact>
|
|
||||||
<file>${project.build.directory}/proguard/mapping.txt</file>
|
|
||||||
<type>map</type>
|
|
||||||
<classifier>release</classifier>
|
|
||||||
</artifact>
|
|
||||||
</artifacts>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-signed-aligned</id>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>attach-artifact</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -1,66 +0,0 @@
|
||||||
-printmapping out.map
|
|
||||||
-renamesourcefileattribute SourceFile
|
|
||||||
-keepattributes SourceFile,LineNumberTable
|
|
||||||
|
|
||||||
-dontpreverify
|
|
||||||
-repackageclasses ''
|
|
||||||
-allowaccessmodification
|
|
||||||
-optimizations !code/simplification/arithmetic
|
|
||||||
-keepattributes *Annotation*
|
|
||||||
|
|
||||||
-injars libs/presto_client-0.8.5.jar
|
|
||||||
|
|
||||||
-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.view.View {
|
|
||||||
public <init>(android.content.Context);
|
|
||||||
public <init>(android.content.Context, android.util.AttributeSet);
|
|
||||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
|
||||||
public void set*(...);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclassmembers enum * {
|
|
||||||
public static **[] values();
|
|
||||||
public static ** valueOf(java.lang.String);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclasseswithmembers class * {
|
|
||||||
public <init>(android.content.Context, android.util.AttributeSet);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclasseswithmembers class * {
|
|
||||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclassmembers class * extends android.content.Context {
|
|
||||||
public void *(android.view.View);
|
|
||||||
public void *(android.view.MenuItem);
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclassmembers class * implements android.os.Parcelable {
|
|
||||||
static android.os.Parcelable$Creator CREATOR;
|
|
||||||
}
|
|
||||||
|
|
||||||
-keepclassmembers class **.R$* {
|
|
||||||
public static <fields>;
|
|
||||||
}
|
|
||||||
|
|
||||||
-keep class android.support.v4.** { *; }
|
|
||||||
-keep interface android.support.v4.** { *; }
|
|
||||||
-keep class android.support.v7.** { *; }
|
|
||||||
-keep interface android.support.v7.** { *; }
|
|
||||||
-dontwarn android.support.v4.**
|
|
||||||
-dontwarn android.support.v7.**
|
|
||||||
|
|
||||||
-keepattributes *Annotation*
|
|
||||||
|
|
||||||
-keep class org.shredzone.flattr4j.** { *; }
|
|
||||||
-dontwarn org.shredzone.flattr4j.**
|
|
||||||
|
|
||||||
-keep class org.apache.commons.** { *; }
|
|
||||||
|
|
||||||
-dontskipnonpubliclibraryclassmembers
|
|
|
@ -1,20 +0,0 @@
|
||||||
# To enable ProGuard in your project, edit project.properties
|
|
||||||
# to define the proguard.config property as described in that file.
|
|
||||||
#
|
|
||||||
# Add project specific ProGuard rules here.
|
|
||||||
# By default, the flags in this file are appended to flags specified
|
|
||||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
|
||||||
# You can edit the include path and order by changing the ProGuard
|
|
||||||
# include property in project.properties.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
Loading…
Reference in New Issue