@@ -50,10 +50,10 @@ plugin( :compiler, '3.1',
5050 :encoding => 'UTF-8' , :debug => true ,
5151 :showWarnings => true , :showDeprecation => true ,
5252 :excludes => [ 'module-info.java' ] ,
53+ #:jdkToolchain => { :version => '[1.7,11)' },
5354
5455 :generatedSourcesDirectory => gen_sources ,
55- :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ] ,
56- :compilerArgs => [ '-XDignore.symbol.file=true' ] ) do
56+ :annotationProcessors => [ 'org.jruby.anno.AnnotationBinder' ] ) do
5757
5858 #execute_goal :compile, :id => 'annotation-binder', :phase => 'compile',
5959 # :generatedSourcesDirectory => gen_sources, #:outputDirectory => gen_sources,
@@ -62,15 +62,19 @@ plugin( :compiler, '3.1',
6262 # :useIncrementalCompilation => false, :fork => true, :verbose => true,
6363 # :compilerArgs => [ '-XDignore.symbol.file=true', '-J-Dfile.encoding=UTF-8' ]
6464
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' ]
6970end
7071
7172profile 'module-info' do
7273 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' ]
7478end
7579
7680plugin :clean do
0 commit comments