Package com.egoge.ai.atlas.plugin
Class PolicySpec
java.lang.Object
com.egoge.ai.atlas.plugin.PolicySpec
agentic { release { policy { … } } }: what a release may remove from the contract the
previous release published. A removal is a field or operation no longer published, a channel it
is reachable on that it loses, or a module's whole contract disappearing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean>Whether any other breaking difference fails a release with the sameapiMajoras the previous release.abstract org.gradle.api.provider.Property<Integer>The majors between a field or operation's deprecation major and theapiMajorof the release that removes it.abstract org.gradle.api.provider.Property<Integer>The releases a field or operation must have been published in while deprecated before a release may remove it.
-
Constructor Details
-
PolicySpec
public PolicySpec()
-
-
Method Details
-
getMinDeprecatedReleases
The releases a field or operation must have been published in while deprecated before a release may remove it. Defaults to 1. -
getMinApiMajorAdvance
The majors between a field or operation's deprecation major and theapiMajorof the release that removes it. Defaults to 1, so an element cannot be removed in the major it was deprecated in. -
getFailOnBreaking
Whether any other breaking difference fails a release with the sameapiMajoras the previous release. Defaults to true. Across a major, breaking differences are only listed in the changelog.
-