File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ fun Project.configureDeployment(deployConfig: Deployed) {
9797 androidSourcesJar = androidSourcesJar,
9898 javadocJar = javadocJar
9999 )
100+ .configurePom(deployConfig)
100101 }
101102 }
102103 }
@@ -149,7 +150,7 @@ private fun MavenPublication.applyPublicationDetails(
149150 isAndroid : Boolean ,
150151 androidSourcesJar : Jar ,
151152 javadocJar : Jar
152- ) {
153+ ) = also {
153154 groupId = deployConfig.groupId
154155 artifactId = deployConfig.artifactId
155156 version = deployConfig.currentVersion
@@ -192,7 +193,7 @@ private fun MavenPublication.applyPublicationDetails(
192193 }
193194}
194195
195- private fun MavenPublication.configurePom (deployConfig : Deployed ) {
196+ private fun MavenPublication.configurePom (deployConfig : Deployed ) = also {
196197 pom {
197198 // Name and description cannot be set directly through the property, since they somehow aren't applied
198199 // to Gradle Plugin Marker's POM file (maybe that plugin removes them somehow). Therefore,
You can’t perform that action at this time.
0 commit comments