mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
2.6 KiB
XML
104 lines
2.6 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>com.actionbarsherlock</groupId>
|
|
<artifactId>sample-styled</artifactId>
|
|
<name>Sample: Styled</name>
|
|
<packaging>apk</packaging>
|
|
|
|
<parent>
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
<artifactId>parent-sample</artifactId>
|
|
<version>3.5.0</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>android</groupId>
|
|
<artifactId>android</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
<artifactId>library</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>apklib</type>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<finalName>${apk.prefix}-${project.artifactId}-unaligned</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>maven-android-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>maven-android-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<zipalign>
|
|
<inputApk>${project.build.directory}/${project.build.finalName}.apk</inputApk>
|
|
<outputApk>${project.build.directory}/${apk.prefix}-${project.artifactId}.apk</outputApk>
|
|
</zipalign>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>alignApk</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>zipalign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.jakewharton</groupId>
|
|
<artifactId>github-deploy-maven-plugin</artifactId>
|
|
<version>1.0.1</version>
|
|
<configuration>
|
|
<types>
|
|
<type>aligned</type>
|
|
</types>
|
|
</configuration>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|