@@ -32,8 +32,6 @@ define 'arez-dom' do
32
32
pom . include_transitive_dependencies << dom_artifact
33
33
pom . dependency_filter = Proc . new { |dep | dom_artifact == dep [ :artifact ] }
34
34
35
- project . processorpath << :arez_processor
36
-
37
35
compile . with :javax_annotation ,
38
36
:braincheck ,
39
37
:jetbrains_annotations ,
@@ -47,6 +45,8 @@ define 'arez-dom' do
47
45
# gwt_user is present for @DoNotAutobox annotation
48
46
:gwt_user
49
47
48
+ compile . options [ :processor_path ] << [ :arez_processor ]
49
+
50
50
gwt_enhance ( project )
51
51
52
52
package ( :jar )
@@ -71,7 +71,6 @@ define 'arez-dom' do
71
71
ipr . extra_modules << 'example/example.iml'
72
72
73
73
ipr . add_default_testng_configuration ( :jvm_args => '-ea -Darez.environment=development' )
74
- ipr . add_component_from_artifact ( :idea_codestyle )
75
74
76
75
GWT_EXAMPLES . each_pair do |gwt_module , path |
77
76
short_name = gwt_module
@@ -84,6 +83,11 @@ define 'arez-dom' do
84
83
: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' ) } " ,
85
84
:launch_page => "http://127.0.0.1:8889/#{ path } /index.html" )
86
85
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' )
87
91
end
88
92
89
93
define 'example' , :base_dir => "#{ File . dirname ( __FILE__ ) } /example" do
0 commit comments