Created
December 25, 2013 15:40
-
-
Save rladstaetter/8124324 to your computer and use it in GitHub Desktop.
a maven pom for android development with scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<parent> | |
<groupId>net.ladstatt.apps.sudoku</groupId> | |
<artifactId>sudoku-pom</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>android-sudoku</artifactId> | |
<name>net.ladstatt.apps.sudoku.android</name> | |
<packaging>apk</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>android</artifactId> | |
<version>4.1.1.4</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.scala-lang</groupId> | |
<artifactId>scala-library</artifactId> | |
<type>jar</type> | |
</dependency> | |
<dependency> | |
<groupId>net.ladstatt.android</groupId> | |
<artifactId>opencv</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>net.ladstatt.apps.sudoku</groupId> | |
<artifactId>core</artifactId> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>${project.artifactId}</finalName> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId>android-maven-plugin</artifactId> | |
<version>3.7.0</version> | |
<extensions>true</extensions> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>net.alchim31.maven</groupId> | |
<artifactId>scala-maven-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId>android-maven-plugin</artifactId> | |
<dependencies> | |
<dependency> | |
<groupId>net.sf.proguard</groupId> | |
<artifactId>proguard-base</artifactId> | |
<version>4.8</version> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<run> | |
<debug>false</debug> | |
</run> | |
<proguard> | |
<skip>false</skip> | |
<config>proguard.cfg</config> | |
</proguard> | |
<sdk> | |
<platform>15</platform> | |
</sdk> | |
<resourceDirectory>${project.basedir}/res</resourceDirectory> | |
<extractDuplicates>true</extractDuplicates> | |
<undeployBeforeDeploy>true</undeployBeforeDeploy> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment