<?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>jp.co.cyberagent.android.gpuimage</groupId>
    <artifactId>gpuimage-library</artifactId>
    <name>GPUImage for Android Library</name>
    <packaging>apklib</packaging>

    <parent>
        <groupId>jp.co.cyberagent.android.gpuimage</groupId>
        <artifactId>gpuimage-parent</artifactId>
        <version>1.1.1</version>
    </parent>

    <dependencies>
        <dependency>
            <groupId>com.google.android</groupId>
            <artifactId>android</artifactId>
            <version>${android.version}</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>com.jayway.maven.plugins.android.generation2</groupId>
                <artifactId>android-maven-plugin</artifactId>
                <executions>
                    <!--
                    Add the execution of the ndk-build goal - this will compile the native code in addition
                    to building the Java & APK
                    -->
                    <execution>
                        <goals>
                            <goal>ndk-build</goal>
                        </goals>
                        <configuration>
                            <clearNativeArtifacts>false</clearNativeArtifacts>
                            <attachNativeArtifacts>true</attachNativeArtifacts>
                            <target>all</target>
                        </configuration>
                    </execution>
                </executions>
                <extensions>true</extensions>

            </plugin>
            <plugin>
                <groupId>com.jayway.maven.plugins.android.generation2</groupId>
                <artifactId>android-maven-plugin</artifactId>
                <extensions>true</extensions>
            </plugin>
        </plugins>
    </build>

</project>
