Skip to content

Commit 9039eb8

Browse files
author
Ruben
committed
add buildfile and relocate files for proper packaging
1 parent ce2f5ed commit 9039eb8

18 files changed

Lines changed: 29 additions & 0 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target
2+
reports
3+
*~

buildfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
repositories.remote << 'http://www.ibiblio.org/maven2'
2+
3+
require 'time'
4+
5+
THIS_VERSION = '20110525'
6+
7+
ant_layout = Layout.new
8+
9+
ant_layout[:source, :main, :java] = 'src'
10+
ant_layout[:source, :main, :resources] = 'resource'
11+
ant_layout[:source, :test, :java] = 'test'
12+
13+
desc 'json'
14+
define 'json', :layout=>ant_layout do
15+
project.group = 'org.json'
16+
project.version = THIS_VERSION
17+
package :sources
18+
package :javadoc
19+
package(:jar).with :manifest=>
20+
{
21+
'Project' => project.id,
22+
'Version' => THIS_VERSION,
23+
'Creation' => Time.now.strftime("%a, %d %b %Y %H:%M:%S %z")
24+
}
25+
26+
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)