Skip to content

Commit

Permalink
Android 29 support
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltii committed Aug 14, 2019
1 parent aaa05a6 commit 177a26d
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 0 deletions.
126 changes: 126 additions & 0 deletions platforms/android-29/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<?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.simpligility.android.sdk-deployer</groupId>
<artifactId>android-29</artifactId>
<packaging>pom</packaging>
<name>Android Platform 10.0 API 29</name>

<parent>
<groupId>com.simpligility.android.sdk-deployer</groupId>
<artifactId>android-platforms</artifactId>
<version>2.10.0</version>
</parent>

<properties>
<jar.simpleVersion>8.0</jar.simpleVersion>
</properties>


<build>
<plugins>

<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>${android.sdk.path}/sources/android-28</classesDirectory>
<includes>
<include>**/*</include>
</includes>
<finalName>android-sources</finalName>
</configuration>
</execution>
</executions>
</plugin>


<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>android-jar</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>${platform.android.groupid}</groupId>
<artifactId>${platform.android.artifactid}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${jar.path}</file>
<javadoc>${javadoc.path}</javadoc>
<sources>${project.build.directory}/android-sources.jar</sources>
</configuration>
</execution>
<execution>
<id>uiautomator-jar</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<groupId>${platform.uiautomator.groupid}</groupId>
<artifactId>${platform.uiautomator.artifactid}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${uiautomator.path}</file>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>android-jar</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<groupId>${platform.android.groupid}</groupId>
<artifactId>${platform.android.artifactid}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${jar.path}</file>
<url>${repo.url}</url>
<repositoryId>${repo.id}</repositoryId>
<javadoc>${javadoc.path}</javadoc>
<sources>${project.build.directory}/android-sources.jar</sources>
</configuration>
</execution>
<execution>
<id>uiautomator-jar</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<groupId>${platform.uiautomator.groupid}</groupId>
<artifactId>${platform.uiautomator.artifactid}</artifactId>
<packaging>jar</packaging>
<version>${jar.version}</version>
<file>${uiautomator.path}</file>
<url>${repo.url}</url>
<repositoryId>${repo.id}</repositoryId>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions platforms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
-->
<!--<module>android-27</module>-->
<!--<module>android-28</module>-->
<!--<module>android-29</module>-->
</modules>
</profile>
<profile>
Expand All @@ -90,6 +91,7 @@
<module>android-26</module>
<module>android-27</module>
<module>android-28</module>
<module>android-29</module>
</modules>
</profile>
<profile>
Expand Down Expand Up @@ -218,6 +220,12 @@
<module>android-28</module>
</modules>
</profile>
<profile>
<id>10.0</id>
<modules>
<module>android-29</module>
</modules>
</profile>
<profile>
<id>with-javadoc</id>
<build>
Expand Down

0 comments on commit 177a26d

Please sign in to comment.