This piece of entertainment was created by a giant multinational corporation in the year 2016 for a global audience.
It's not about "excluding white males" it's about including a global audience which, strangely enough, isn't composed entirely of white males.
Your problem seems to be with Disney's demographic and psychographic research that shows what's already there.
This is all assuming that one of your contentions is correct; i.e. that Disney was just checking boxes during casting.
Just because parameters exist doesn't mean there's no meritocracy. Boyega and Ridley appear to be fine actors that turned in objectively better performances than much of the cast in our beloved original trilogy.
And this quote from you:
" . . . Yet he turned out to be a cowardly, bitchy beta male, that fails all **** tests and gets instantly friend zoned by the main white girl."
How is a character that refuses to carry out orders within a brutal totalitarian regime, stages a daring escape and then goes on to fight, defend and rescue his friends in the face of probable to certain death, read as "cowardly"?
You also wrote:
". . . you cannot create a believable hero in a female form"
So you're either:
(a) Trolling
(b) Lack a great deal of experience
(c) Lack intelligence
(d) Have failed to employ critical thinking
But hey, enjoy your views.