Package com.egoge.ai.atlas.plugin
Class ReleaseSpec
java.lang.Object
com.egoge.ai.atlas.plugin.ReleaseSpec
agentic { release { … } } : where agenticRelease writes released contracts, and
the release policy. agenticReleaseVerify matches the build against
agentic { releaseVersion } , which CI sets with -Pversion; it has no version of its own.
agentic {
releaseVersion.set("1.4.0")
release {
policy {
minDeprecatedReleases.set(2)
}
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.RegularFilePropertyThe aggregate contract changelog, regenerated from every release, newest first.abstract org.gradle.api.file.DirectoryPropertyThe directory holding one immutable subdirectory per released version.The release policy a release is checked against.abstract org.gradle.api.provider.Property<String>The git tag name template a released version is proved by (F1), with exactly one{version}placeholder.voidpolicy(org.gradle.api.Action<? super PolicySpec> action) Configures the release policy.
-
Constructor Details
-
ReleaseSpec
@Inject public ReleaseSpec(org.gradle.api.model.ObjectFactory objects) - Parameters:
objects- creates the nested release policy
-
-
Method Details
-
getDirectory
public abstract org.gradle.api.file.DirectoryProperty getDirectory()The directory holding one immutable subdirectory per released version. Defaults to<projectDir>/.atlas/releases. -
getChangelog
public abstract org.gradle.api.file.RegularFileProperty getChangelog()The aggregate contract changelog, regenerated from every release, newest first. Defaults to<projectDir>/.atlas/CHANGELOG.md. The repository's ownCHANGELOG.mdis never written. -
getTagName
The git tag name template a released version is proved by (F1), with exactly one{version}placeholder. Defaults to "v{version}". The rendered name is recorded in each release'srelease.json. -
getPolicy
The release policy a release is checked against. -
policy
Configures the release policy.- Parameters:
action- the configuration
-