Plugins =
  case erlang:list_to_integer(erlang:system_info(otp_release)) of
    Version when Version > 23 ->
      ExtraPlugins = [{rebar3_ex_doc, "~> 0.2.9"},{rebar3_hex, "~> 7.0.1"}],
      {project_plugins, lists:merge(ExtraPlugins, proplists:get_value(project_plugins, CONFIG))};
    _ -> {project_plugins, proplists:get_value(project_plugins, CONFIG)}
  end,
[Plugins | CONFIG].
