File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 22
22
<zipfileset src =" lib/generator/qdox-1.12.jar" />
23
23
<rule pattern =" com.thoughtworks.qdox.**" result =" org.hamcrest.generator.qdox.@1" />
24
24
</jarjar >
25
+ <copy file =" build/hamcrest-generator-${ version } -nodeps-sources.jar" tofile =" build/hamcrest-generator-${ version } -sources.jar" />
25
26
</target >
26
27
27
28
<target name =" core" depends =" generator" description =" Build core Hamcrest library" >
203
204
</classpath >
204
205
</javac >
205
206
<copy file =" LICENSE.txt" todir =" build/temp/@{ modulename } .jar.contents" />
206
- <!-- Put Java source in Jars for user's convenience. -->
207
- <copy todir =" build/temp/@{ modulename } .jar.contents" >
208
- <fileset dir =" @{ srcdir } " />
209
- </copy >
210
207
<jar jarfile =" build/@{ modulename } .jar" >
211
208
<fileset dir =" build/temp/@{ modulename } .jar.contents" />
212
209
</jar >
210
+ <copy file =" LICENSE.txt" todir =" build/temp/@{ modulename } .jar.contents" />
211
+
212
+ <!-- Build sources jar -->
213
+ <copy todir =" build/temp/@{ modulename } -sources.jar.contents" >
214
+ <fileset dir =" @{ srcdir } " />
215
+ </copy >
216
+ <jar jarfile =" build/@{ modulename } -sources.jar" >
217
+ <fileset dir =" build/temp/@{ modulename } -sources.jar.contents" />
218
+ </jar >
213
219
</sequential >
214
220
</macrodef >
215
221
You can’t perform that action at this time.
0 commit comments