File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 16
16
<jar .simpleVersion>4.0.3</jar .simpleVersion>
17
17
</properties >
18
18
19
-
20
19
<build >
21
20
<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 >
22
40
<plugin >
23
41
<artifactId >maven-install-plugin</artifactId >
24
42
<executions >
32
50
<version >${jar.version} </version >
33
51
<file >${jar.path} </file >
34
52
<javadoc >${javadoc.path} </javadoc >
53
+ <sources >${project.build.directory} /android-sources.jar</sources >
35
54
</configuration >
36
55
</execution >
37
56
</executions >
52
71
<url >${repo.url} </url >
53
72
<repositoryId >${repo.id} </repositoryId >
54
73
<javadoc >${javadoc.path} </javadoc >
74
+ <sources >${project.build.directory} /android-sources.jar</sources >
55
75
</configuration >
56
76
</execution >
57
77
</executions >
You can’t perform that action at this time.
0 commit comments