forked from NUBIC/bering
-
Notifications
You must be signed in to change notification settings - Fork 1
/
buildfile
32 lines (26 loc) · 853 Bytes
/
buildfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# buildfile for bering
VERSION_NUMBER = "0.8.2-SNAPSHOT"
GROUP = 'edu.northwestern.bioinformatics'
repositories.release_to[:url] = "sftp://ligand/var/www/sites/download/download/maven2"
define 'bering' do
project.version = VERSION_NUMBER
project.group = GROUP
compile.options.target = '1.5'
compile.options.source = '1.5'
compile.options.other = %w(-encoding UTF-8)
define 'core' do
compile.with SPRING, GROOVY, ANT, SERVLET, HIBERNATE, JAKARTA_COMMONS
test.compile.with UNIT_TEST, HSQLDB
test.resources
package(:jar, :id => 'bering')
package(:javadoc, :id => 'bering')
package(:sources, :id => 'bering')
end
define 'maven-plugin' do
compile.with project('core').and_dependencies, MAVEN, HSQLDB
test.compile.with UNIT_TEST
package(:jar)
package(:javadoc)
package(:sources)
end
end