For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

ViewConfiguration

Configuration for a defined artifact view.

Since

4.0

Functions

Link copied to clipboard
abstract fun attributes(action: Action<in AttributeContainer>): SELF
Configure the attribute container that provides the attributes associated with this domain object.
Link copied to clipboard
Specify a filter for the components that should be included in this view.
Link copied to clipboard
Returns the attributes
Link copied to clipboard
abstract fun isLenient(): Boolean
Determines whether the view should be resolved in a 'lenient' fashion.
Link copied to clipboard
Specify if the view should be resolved in a 'lenient' fashion.
Link copied to clipboard
abstract fun setLenient(lenient: Boolean)
Specify if the view should be resolved in a 'lenient' fashion.
Link copied to clipboard
When invoked, this view will disregard existing attributes of its parent configuration and re-resolve the artifacts using only the attributes in the view's attribute container.