Skip to content

Commit 0a5ebef

Browse files
RUM-10224: pr fix
1 parent f771f36 commit 0a5ebef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ tasks.register("printSdkDebugRuntimeClasspath") {
228228
tasks.register("listAllPublishedArtifactIds") {
229229
doLast {
230230
val artifactIds = rootProject.subprojects.flatMap { subproject ->
231-
val publishing = subproject.extensions.findByName("publishing") as? PublishingExtension
231+
val publishing = subproject.extensions.findByType<PublishingExtension>()
232232
publishing?.publications?.mapNotNull { publication ->
233233
if (publication is MavenPublication) {
234234
publication.artifactId

0 commit comments

Comments
 (0)