Search Gradle plugins

Version 1.6.0 (latest)

Created 27 February 2024.

JetBrains Compose Gradle plugin for easy configuration

Using the plugins DSL:

plugins {
  id("org.jetbrains.compose") version "1.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.jetbrains.compose:compose-gradle-plugin:1.6.0")
  }
}

apply(plugin = "org.jetbrains.compose")

Using the plugins DSL:

plugins {
  id "org.jetbrains.compose" version "1.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.jetbrains.compose:compose-gradle-plugin:1.6.0"
  }
}

apply plugin: "org.jetbrains.compose"

Learn how to apply plugins to subprojects