EXCLUSIVE

Kesha admitted Dr. Luke did NOT drug her, did NOT sexually assault her and did NOT have sexual relations with her ... and she swore all of it under oath, which contradicts her lawsuit.

Kesha has accused Dr. Luke of a variety of misdeeds in her lawsuit, including rape and physical and emotional assault. Dr. Luke filed his own suit saying her claims are BS and it's all about Kesha wanting to get out of their management contract.

Now TMZ has obtained a deposition from 2011 in which Kesha and Luke were both being sued by her former manager. Kesha says flat out ... she and Luke never had sexual relations:



The deposition had been sealed ... and Tuesday morning Dr. Luke's lawyer went to court asking the judge in his case to unseal the depo and allow it to be used in the current case. We're told Kesha's lawyer argued it was NOT fair game, but the judge disagreed and unsealed it.