File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -136,17 +136,24 @@ This is incredibly useful for:
136136
137137[ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.github.skydoves/compose-stability-runtime.svg?label=Maven%20Central )] ( https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%compose-stability-runtime%22 )
138138
139- Add the dependency below to your ` libs.versions.toml ` file:
139+ First, add the plugin to the ` [plugins] ` section of your ` libs.versions.toml ` file:
140140
141141``` toml
142142stability-analyzer = { id = " com.github.skydoves.compose.stability.analyzer" , version = " 0.5.2" }
143143```
144144
145- Next, apply the plugin on your root's ` build.gradle.kts ` file like below:
145+ Then, apply it to your root ` build.gradle.kts ` with ` apply false ` :
146+
147+ ``` kotlin
148+ alias(libs.plugins.stability.analyzer) apply false
149+ ```
150+
151+ Finally, apply the plugin to your app or shared module's ` build.gradle.kts ` :
146152
147153``` kotlin
148154alias(libs.plugins.stability.analyzer)
149155```
156+ Sync your project to complete the setup.
150157
151158### Kotlin Version Mapping
152159
You can’t perform that action at this time.
0 commit comments