Class CPlugin

java.lang.Object
org.gradle.language.c.plugins.CPlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public class CPlugin extends Object implements Plugin<Project>
A plugin for projects wishing to build native binary components from C sources.

Automatically includes the CLangPlugin for core C++ support and the NativeComponentPlugin for native component support.

  • Constructor Details

    • CPlugin

      public CPlugin()
  • Method Details

    • apply

      public void apply(Project project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      project - The target object