Owner:
江祖贇
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 2026.05.24-2
Created 24 May 2026.
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 "2026.05.24-2"
}
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:2026.05.24-2") }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:2026.05.24-2") } } apply(plugin = "io.github.5hmlA.android.compose") - Applying plugins to all subprojects .