@@ -50,10 +50,10 @@ plugin( :compiler, '3.1',
50
50
:encoding => 'UTF-8' , :debug => true ,
51
51
:showWarnings => true , :showDeprecation => true ,
52
52
:excludes => [ 'module-info.java' ] ,
53
+ #:jdkToolchain => { :version => '[1.7,11)' },
53
54
54
55
:generatedSourcesDirectory => gen_sources ,
55
- :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ] ,
56
- :compilerArgs => [ '-XDignore.symbol.file=true' ] ) do
56
+ :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ] ) do
57
57
58
58
#execute_goal :compile, :id => 'annotation-binder', :phase => 'compile',
59
59
# :generatedSourcesDirectory => gen_sources, #:outputDirectory => gen_sources,
@@ -62,15 +62,19 @@ plugin( :compiler, '3.1',
62
62
# :useIncrementalCompilation => false, :fork => true, :verbose => true,
63
63
# :compilerArgs => [ '-XDignore.symbol.file=true', '-J-Dfile.encoding=UTF-8' ]
64
64
65
- execute_goal :compile , :id => 'compile-populators' , :phase => 'process-classes' ,
66
- :includes => [ 'org/jruby/gen/**/*.java' ] , :optimize => true ,
67
- :compilerArgs => [ '-XDignore.symbol.file=true' ]
68
- # NOTE: maybe '-J-Xbootclasspath/p:${unsafe.jar}' ... as well ?!
65
+ execute_goal :compile ,
66
+ :id => 'compile-populators' , :phase => 'process-classes' ,
67
+ :includes => [ 'org/jruby/gen/**/*.java' ] ,
68
+ :optimize => true ,
69
+ :compilerArgs => [ '' , '-XDignore.symbol.file=true' ]
69
70
end
70
71
71
72
profile 'module-info' do
72
73
activation { jdk '[9,)' }
73
- plugin :compiler , '3.1' , :source => '9' , :target => java_target , :includes => [ 'module-info.java' ]
74
+ plugin :compiler , '3.8.1' ,
75
+ :source => '9' , :target => java_target ,
76
+ :release => '9' ,
77
+ :includes => [ 'module-info.java' ]
74
78
end
75
79
76
80
plugin :clean do
0 commit comments