Search Gradle plugins

com.figma.code.connect

Owner: Figma

The Gradle plugin for Figma Code Connect that handles parsing and creation of Code Connect files. This plugin is used in conjuncttion with the Figma CLI tool in order to connect design systems in code to Figma designs.

https://github.com/figma/code-connect/tree/main/compose

Sources: https://github.com/figma/code-connect/tree/main/compose

Version 1.2.1 (latest)

Created 23 October 2024.

The Gradle plugin for Figma Code Connect that handles parsing and creation of Code Connect files. This plugin is used in conjunction with the Figma CLI tool in order to connect design systems in code to Figma designs.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.figma.code.connect") version "1.2.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.figma.code.connect:com.figma.code.connect.gradle.plugin:1.2.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.figma.code.connect")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.figma.code.connect:com.figma.code.connect.gradle.plugin:1.2.1")
      }
    }
    
    apply(plugin = "com.figma.code.connect")
  • Applying plugins to all subprojects .