Adds javacOptions to build.