Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure plugin cross-version compatibility by allowing a user to depend on gradlePublicApi() #1156
Provide a way for users to declare that they only depend on the Gradle Public API.
Allow a user to declare a dependency on only the
Currently, users wanting to write plugins must declare a
Plugin authors are not prevented from using Gradle internal APIs (which are sadly necessary for some users' needs today) which breaks backward and forward compatibility.
Let us give them a vehicle to ensure compatibility, then make that vehicle awesome.
More discussion at gradle/build-tool-projects#73
We should bust up the API into the public API for the Gradle platform, and the public API of each group of plugins. For example: