This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
forked from nayuki/QR-Code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildfile
49 lines (39 loc) · 1.5 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
require 'buildr/git_auto_version'
require 'buildr/gpg'
require 'buildr/gwt'
desc 'GWT QR Code Generation'
define 'gwt-qr-code' do
project.group = 'org.realityforge.gwt.qr_code'
compile.options.source = '1.8'
compile.options.target = '1.8'
compile.options.lint = 'all'
project.version = ENV['PRODUCT_VERSION'] if ENV['PRODUCT_VERSION']
pom.add_mit_license
pom.add_github_project('realityforge/gwt-qr-code')
pom.add_developer('realityforge', 'Peter Donald')
pom.add_developer('nayuki', 'Nayuki Minase')
pom.include_transitive_dependencies << artifact(:elemental2_dom)
pom.include_transitive_dependencies << artifact(:braincheck)
pom.dependency_filter = Proc.new {|dep| dep[:group].to_s == 'org.realityforge.braincheck' || (dep[:group].to_s == 'com.google.elemental2' && dep[:id].to_s == 'elemental2-dom')}
compile.with :javax_annotation,
:jsinterop_base,
:jsinterop_annotations,
:elemental2_core,
:elemental2_dom,
:elemental2_promise,
:braincheck
gwt_enhance(project)
test.using :testng
package(:jar)
package(:sources)
package(:javadoc)
doc.
using(:javadoc,
:windowtitle => 'GWT QR Code API Documentation',
:linksource => true,
:timestamp => false,
:link => %w(https://docs.oracle.com/javase/8/docs/api http://www.gwtproject.org/javadoc/latest/)
)
iml.excluded_directories << project._('tmp')
ipr.add_component_from_artifact(:idea_codestyle)
end