Search Gradle plugins

io.github.5hmlA.android.compose

android compose config for build.gradle, necessary related settings for compose will be automatically set

https://github.com/5hmlA/conventions

Sources: https://github.com/5hmlA/conventions

Version 2.0.6

Created 13 June 2024.

android compose config for build.gradle, necessary related settings for compose will be automatically set

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.5hmlA.android.compose") version "2.0.6"
}

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("io.github.5hmlA.android.compose:io.github.5hmlA.android.compose.gradle.plugin:2.0.6")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.5hmlA.android.compose")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.5hmlA.android.compose:io.github.5hmlA.android.compose.gradle.plugin:2.0.6")
      }
    }
    
    apply(plugin = "io.github.5hmlA.android.compose")
  • Applying plugins to all subprojects .