-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildfile
More file actions
30 lines (23 loc) · 874 Bytes
/
Buildfile
File metadata and controls
30 lines (23 loc) · 874 Bytes
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
require 'buildr_bnd'
require 'buildr_iidea'
desc 'Tide: Time Sheet Management'
define 'tilde' do
project.version = "1.0.0-SNAPSHOT"
project.group = 'au.com.stocksoftware.tide'
compile.options.source = '1.6'
compile.options.target = '1.6'
compile.options.lint = 'all'
SLF4J = [:slf4j_api, :slf4j_jdk14, :jcl_over_slf4j]
compile.with :core, :jpa, :asm, :antlr, :persistence, :validation, :hibernate_validator, SLF4J, :commons_lang, :commons_butils
compile.from _(:target, :generated, :java)
test.using :testng
test.with :derbytools, :derby
ipr.template = _('src/etc/project-template.ipr')
domgen_gen( project )
dbt_setup( project )
package(:jar).with(
:manifest => { 'Class-Path' => artifacts(compile.dependencies).map{|art| art.name.split(/\//)[-1]}.join(' '),
'Main-Class' => 'Main'}
)
package(:war)
end