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.

CppBasePlugin

@NullMarked
abstract class CppBasePlugin : Plugin<Project> (source)

A common base plugin for the C++ executable and library plugins

Since

4.1

Constructors

Link copied to clipboard
@Inject
constructor(publicationRegistry: ProjectPublicationRegistry)

Functions

Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.