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.
gradle
Toggle table of contents
9.9.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.language.cpp.plugins
/
CppBasePlugin
Cpp
Base
Plugin
API
@
NullMarked
abstract
class
CppBasePlugin
:
Plugin
<
Project
>
(
source
)
A common base plugin for the C++ executable and library plugins
Since
4.1
Members
Constructors
Cpp
Base
Plugin
Link copied to clipboard
API
@
Inject
constructor
(
publicationRegistry
:
ProjectPublicationRegistry
)
Functions
apply
Link copied to clipboard
API
open
fun
apply
(
project
:
Project
)
Apply this plugin to the given target object.