Fix failure of build script.

gradle-rxjava-project-plugin 1.12.14 doesn't apply 'JavaPlugin' to the
project anymore. So apply it explicitly.