Skip to content
This repository was archived by the owner on Feb 28, 2019. It is now read-only.

Commit 5627819

Browse files
committed
Patch javadoc to eliminate a class of errors
1 parent 1bc8ee2 commit 5627819

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tasks/javadoc_patch.rake

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
raise 'Patch already integrated into buildr code' unless Buildr::VERSION.to_s == '1.5.6'
2+
3+
module Buildr
4+
module JavadocPatch
5+
module ProjectExtension
6+
include Extension
7+
8+
after_define do |project|
9+
project.doc.options.merge!('sourcepath' => project.compile.sources.join(File::PATH_SEPARATOR))
10+
end
11+
end
12+
end
13+
end
14+
15+
class Buildr::Project
16+
include Buildr::JavadocPatch::ProjectExtension
17+
end

0 commit comments

Comments
 (0)