api / org.gradle.language.c.plugins

Package org.gradle.language.c.plugins

Types

CLangPlugin

open class CLangPlugin : Plugin<Project>

Adds core C language support.

CPlugin

open class CPlugin : 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 org.gradle.nativeplatform.plugins.NativeComponentPlugin for native component support.

  • Creates a org.gradle.language.c.tasks.CCompile task for each org.gradle.language.c.CSourceSet to compile the C sources.