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.

AccessRule

interface AccessRule(source)

Access rule associated with an Eclipse classpath entry.

Since

3.0

See also

Functions

Link copied to clipboard
abstract fun getKind(): Int
Returns the encoded type of the access rule.
Link copied to clipboard
abstract fun getPattern(): String
Returns the file pattern of this access rule.