This repository has been archived by the owner on Oct 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildfile
50 lines (40 loc) · 1.52 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
50
require 'buildr/git_auto_version'
require 'buildr/gpg'
require 'buildr/gwt'
desc 'React4j-WindowPortal: React4j portal that renders into a Window'
define 'react4j-windowportal' do
project.group = 'org.realityforge.react4j.windowportal'
compile.options.source = '1.8'
compile.options.target = '1.8'
compile.options.lint = 'all'
project.version = ENV['PRODUCT_VERSION'] if ENV['PRODUCT_VERSION']
dom_artifact = artifact(:react4j_dom)
pom.include_transitive_dependencies << dom_artifact
pom.dependency_filter = Proc.new {|dep| dom_artifact == dep[:artifact]}
project.processorpath << :react4j_processor
project.processorpath << :arez_processor
compile.with :javax_annotation,
:jsinterop_base,
:jsinterop_annotations,
:elemental2_core,
:elemental2_dom,
:elemental2_promise,
:braincheck,
:arez_core,
:react4j_core,
:react4j_dom
gwt_enhance(project)
package(:jar)
package(:sources)
package(:javadoc)
doc.
using(:javadoc,
:windowtitle => 'React4j WindowPortal API Documentation',
:linksource => true,
:timestamp => false,
:link => %w(https://react4j.github.io/api https://arez.github.io/api https://docs.oracle.com/javase/8/docs/api http://www.gwtproject.org/javadoc/latest/)
)
iml.excluded_directories << project._('tmp')
iml.excluded_directories << project._('node_modules')
ipr.add_component_from_artifact(:idea_codestyle)
end