Some of the biggest names in music are picking sides publicly in the legal battle between the pop singer Kesha and her former mentor, Dr. Luke, one of the industry’s top hitmakers.

Rallying behind the #FreeKesha social media campaign, female musicians including Lady Gaga, Lorde, Miley Cyrus, Fiona Apple, Ariana Grande and Kelly Clarkson have voiced support in recent days for Kesha, 28, who claimed in a 2014 lawsuit that Dr. Luke “sexually, physically, verbally and emotionally abused” her for years after she signed with his label at age 18. (Dr. Luke, 42, whose real name is Lukasz Gottwald, has denied all the accusations.)

In the most high-profile statement of solidarity so far, Taylor Swift said on Sunday through her spokeswoman, Tree Paine, that she would donate $250,000 to Kesha “to help with any of her financial needs during this trying time.”

Kesha’s mother, Pebe Sebert, responded to the donation on Twitter: “A person’s wealth is not measured by what they have but by WHO they they help with it. And Taylor Swift is a truly RICH PERSON.” Ms. Sebert added, “Most important for Kesha, is that these beautiful, powerful women are standing behind her, letting the world see how powerful the truth is!”