We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f771f36 commit 0a5ebefCopy full SHA for 0a5ebef
build.gradle.kts
@@ -228,7 +228,7 @@ tasks.register("printSdkDebugRuntimeClasspath") {
228
tasks.register("listAllPublishedArtifactIds") {
229
doLast {
230
val artifactIds = rootProject.subprojects.flatMap { subproject ->
231
- val publishing = subproject.extensions.findByName("publishing") as? PublishingExtension
+ val publishing = subproject.extensions.findByType<PublishingExtension>()
232
publishing?.publications?.mapNotNull { publication ->
233
if (publication is MavenPublication) {
234
publication.artifactId
0 commit comments