Public Gradle APIs
version 9.2.0
Gradle provides many public APIs that allow developers to interact with various build system components.
Only elements explicitly documented as part of the stable public API are supported for use.
All other classes, methods, or packages, including, but not limited to, those containing the name Internal or located in a package segment .internal., are considered internal implementation details and must not be relied upon for stable usage.
Use of Gradle internal APIs in plugins and build scripts can break builds when either Gradle or plugins change.
The list of public API packages is as follows:
org.gradle.* (top-level classes only — excludes subpackages)
org.gradle.api.** (includes subpackages)
org.gradle.authentication.**
org.gradle.build.**
org.gradle.buildconfiguration.**
org.gradle.buildinit.**
org.gradle.caching.**
org.gradle.concurrent.**
org.gradle.deployment.**
org.gradle.external.javadoc.**
org.gradle.ide.**
org.gradle.ivy.**
org.gradle.jvm.**
org.gradle.language.**
org.gradle.maven.**
org.gradle.nativeplatform.**
org.gradle.normalization.**
org.gradle.platform.**
org.gradle.plugin.devel.**
org.gradle.plugin.use.*
org.gradle.plugin.management.*
org.gradle.plugins.**
org.gradle.process.**
org.gradle.testfixtures.**
org.gradle.testing.jacoco.**
org.gradle.tooling.**
org.gradle.swiftpm.**
org.gradle.model.**
org.gradle.testkit.**
org.gradle.testing.**
org.gradle.vcs.**
org.gradle.work.**
org.gradle.workers.**
org.gradle.util.**
The * wildcard matches only classes directly in the package (e.g., org.gradle.Foo), but does not include subpackages like org.gradle.something.Foo.
Conversely, the ** wildcard matches the noted package and its subpackages.
|