且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何超越gradle wsimport任务JDK 8访问限制?

更新时间:2022-10-14 23:26:41

The only working solution I found was to set a system property using reflection:

task wsimport {
  System.setProperty('javax.xml.accessExternalSchema', 'file')
  ...
}

All other solutions using ext or systemProperty did not work for me. I have gradle 1.11 installed.