Skip to content

Commit a4f71e7

Browse files
committed
Added source deployment for android-15
1 parent 077c661 commit a4f71e7

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

platforms/android-15/pom.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,27 @@
1616
<jar.simpleVersion>4.0.3</jar.simpleVersion>
1717
</properties>
1818

19-
2019
<build>
2120
<plugins>
21+
<plugin>
22+
<artifactId>maven-jar-plugin</artifactId>
23+
<version>2.4</version>
24+
<executions>
25+
<execution>
26+
<phase>generate-resources</phase>
27+
<goals>
28+
<goal>jar</goal>
29+
</goals>
30+
<configuration>
31+
<classesDirectory>${android.sdk.path}/sources/android-15</classesDirectory>
32+
<includes>
33+
<include>**/*</include>
34+
</includes>
35+
<finalName>android-sources</finalName>
36+
</configuration>
37+
</execution>
38+
</executions>
39+
</plugin>
2240
<plugin>
2341
<artifactId>maven-install-plugin</artifactId>
2442
<executions>
@@ -32,6 +50,7 @@
3250
<version>${jar.version}</version>
3351
<file>${jar.path}</file>
3452
<javadoc>${javadoc.path}</javadoc>
53+
<sources>${project.build.directory}/android-sources.jar</sources>
3554
</configuration>
3655
</execution>
3756
</executions>
@@ -52,6 +71,7 @@
5271
<url>${repo.url}</url>
5372
<repositoryId>${repo.id}</repositoryId>
5473
<javadoc>${javadoc.path}</javadoc>
74+
<sources>${project.build.directory}/android-sources.jar</sources>
5575
</configuration>
5676
</execution>
5777
</executions>

0 commit comments

Comments
 (0)