File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,13 @@ tasks {
132132 prepareSandbox {
133133 exclude { " coroutines" in it.name }
134134 }
135- check {
136- dependsOn(" checkComposeVersionCompatibility" )
135+ val checkComposeVersionCompatibility by registering(CheckComposeVersionCompatibility ::class ) {
136+ artifactCollection = configurations.runtimeClasspath.map {
137+ it.incoming.artifactView { lenient(true ) }.artifacts
138+ }
139+ expectedComposeVersion = libs.versions.compose
137140 }
138- }
139-
140- tasks.register<CheckComposeVersionCompatibility >(" checkComposeVersionCompatibility" ) {
141- artifactCollection = configurations.runtimeClasspath.map {
142- it.incoming.artifactView { lenient(true ) }.artifacts
141+ check {
142+ dependsOn(checkComposeVersionCompatibility)
143143 }
144- expectedComposeVersion = libs.versions.compose
145144}
You can’t perform that action at this time.
0 commit comments