How to change the gradle-api-x.x.jar in Project and External Dependencies?

Hi
I am add some classes to Gradle native and the Gradle API changed. How can I refer this new gradle-api.jar in the classpath/Project and External Dependecies?