Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Commit 6a3d695

Browse files
committed
Upgrade to the latest Buildr
1 parent cc6af3f commit 6a3d695

File tree

2 files changed

+7
-120
lines changed

2 files changed

+7
-120
lines changed

buildfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ define 'arez-dom' do
3232
pom.include_transitive_dependencies << dom_artifact
3333
pom.dependency_filter = Proc.new {|dep| dom_artifact == dep[:artifact]}
3434

35-
project.processorpath << :arez_processor
36-
3735
compile.with :javax_annotation,
3836
:braincheck,
3937
:jetbrains_annotations,
@@ -47,6 +45,8 @@ define 'arez-dom' do
4745
# gwt_user is present for @DoNotAutobox annotation
4846
:gwt_user
4947

48+
compile.options[:processor_path] << [:arez_processor]
49+
5050
gwt_enhance(project)
5151

5252
package(:jar)
@@ -71,7 +71,6 @@ define 'arez-dom' do
7171
ipr.extra_modules << 'example/example.iml'
7272

7373
ipr.add_default_testng_configuration(:jvm_args => '-ea -Darez.environment=development')
74-
ipr.add_component_from_artifact(:idea_codestyle)
7574

7675
GWT_EXAMPLES.each_pair do |gwt_module, path|
7776
short_name = gwt_module
@@ -84,6 +83,11 @@ define 'arez-dom' do
8483
:shell_parameters => "-strict -style PRETTY -XmethodNameDisplayMode FULL -nostartServer -incremental -codeServerPort 8889 -bindAddress 0.0.0.0 -deploy #{_(:generated, :gwt, 'deploy')} -extra #{_(:generated, :gwt, 'extra')} -war #{_(:generated, :gwt, 'war')}",
8584
:launch_page => "http://127.0.0.1:8889/#{path}/index.html")
8685
end
86+
87+
ipr.add_component_from_artifact(:idea_codestyle)
88+
ipr.add_code_insight_settings
89+
ipr.add_nullable_manager
90+
ipr.add_javac_settings('-Xlint:all,-processing,-serial -Werror -Xmaxerrs 10000 -Xmaxwarns 10000')
8791
end
8892

8993
define 'example', :base_dir => "#{File.dirname(__FILE__)}/example" do

tasks/processor_path.rake

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)