anchor.diff:  // limitations under the License.
   
   [[cpp_library_plugin]]
  -= C++ Library
  -
  -The C\++ Library Plugin provides the tasks and conventions for building C++ libraries.
  -In particular, a C\++ library exposes an API to consumers (i.e., other projects using C++ Library or C++ Application Plugin).
  += {cpp} Library
  +
  +The {cpp} Library Plugin provides the tasks and conventions for building {cpp} libraries.
  +In particular, a {cpp} library exposes an API to consumers (i.e., other projects using {cpp} Library or {cpp} Application Plugin).
   // TODO: Link to C++ application plugin chapter
   
   == Usage
   
  -.Applying the C++ Library Plugin
  +.Applying the {cpp} Library Plugin
   ====
   include::sample[dir="userguide/cpp/cppLibrary/groovy",files="build.gradle[tags=apply-cpp-library-plugin]"]
   include::sample[dir="userguide/cpp/cppLibrary/kotlin",files="build.gradle.kts[tags=apply-cpp-library-plugin]"]
  
positive.code: 
  === Lifecycle Tasks
  
  The C\++ Library Plugin attaches some of its tasks to the standard lifecycle tasks documented in the Base Plugin chapter - which the C++ Library Plugin applies automatically:
  
  `assemble` - Task (lifecycle)::
  Depends on: `linkDebug` when linkage includes `shared` or `createDebug` otherwise.
  
negative.code: 
  == Dependency management
  
  Just like the tasks created by the {cpp} Library Plugin, the configurations are created based on the variant of the library component.
  The dimension participating in the variant are build type, linkage and target machines.
  The build type is always set to _debug_ and _release_.
  By default, the linkage is set to _shared_ and the target machine is set to the build host.
  Dimensions with a single value don’t influence the configuration name, thus _variant_ will take the value of _Debug_ and _Release_ (or _debug_ and _release_ when the variant is value is used at the beginning of the name).
  The following graph describes the configurations added by the {cpp} Library Plugin:
  
  .{cpp} Library Plugin configurations
  image::cpp-library-configurations.png[]
  
  * The configurations in white are the ones a user should use to declare dependencies
  