mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-15 02:15:39 +01:00
270 lines
11 KiB
XML
270 lines
11 KiB
XML
<?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.0</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>
|