diff --git a/build-logic/convention/build.gradle.kts b/build-logic/convention/build.gradle.kts index c569db461..fa0ccec5d 100644 --- a/build-logic/convention/build.gradle.kts +++ b/build-logic/convention/build.gradle.kts @@ -5,7 +5,7 @@ plugins { repositories { google() mavenCentral() - gradlePluginPortal() // Optional, for other Gradle plugins + gradlePluginPortal() } diff --git a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt index 9912adc12..2dcb9e37a 100644 --- a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt @@ -55,7 +55,9 @@ class PublishingConventionPlugin : Plugin { extensions.configure { publications { create("aar") { - // from(components["release"]) + afterEvaluate { + from(components["release"]) + } pom { name.set(project.name) description.set("Jetpack Compose components for the Maps SDK for Android")