If you have clearly stated that you do not want to hear about her personal flirting or relationship experience, start doing the broken record*. She's a frenemy. She's being a bully to you while providing minimal good friendship or using past history to hold it against you.
*The broken record is you keep repeating what you want from them and only focus at the statement.
You "I do not want to hear about your personal boy stories."
Her "But it's so awesome."
You "No. I don't want to hear it."
Her "You're just jealous."
"And yet, I still don't want to hear it even more."
Her "What about your ex? I spent all the time listening to your aches and bragging about boyfriends."
You "I'm sorry, but I was not addressed it was an issue for you to listen to my personal life, I shall not do so in the future. Staying on topic, I still don't want to hear about you or my own boy issues."
Her "I was just joking."
You "I still didn't want to hear it, whether it's a joke or not."
Her "I thought friends are suppose to share!"
You "Anything but that."
Her *brags about boys*
You "If you talk one more time about boys again, I'm not going to be friends with you. I told you my boundaries, and you're still disrespecting me."
Her "Ugh I just forgot okay?"
You "Unfortunately I remember all too well, so it's either you learn faster or I'll have to keep you quiet by stepping away from you."
She'll be burnt out by being cut off every time and not getting something out of you but the same old boring answer. It shouldn't be this long but these are the possible scenarios she could do as a generic example. It's really embarrassing for the person being shut down like that and empowers you without being rude. If she thinks you're rude, simply state, and do not explain, it's just what you need, and if she doesn't like it, she doesn't have to be your friend.