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) {
97
97
androidSourcesJar = androidSourcesJar,
98
98
javadocJar = javadocJar
99
99
)
100
+ .configurePom(deployConfig)
100
101
}
101
102
}
102
103
}
@@ -149,7 +150,7 @@ private fun MavenPublication.applyPublicationDetails(
149
150
isAndroid : Boolean ,
150
151
androidSourcesJar : Jar ,
151
152
javadocJar : Jar
152
- ) {
153
+ ) = also {
153
154
groupId = deployConfig.groupId
154
155
artifactId = deployConfig.artifactId
155
156
version = deployConfig.currentVersion
@@ -192,7 +193,7 @@ private fun MavenPublication.applyPublicationDetails(
192
193
}
193
194
}
194
195
195
- private fun MavenPublication.configurePom (deployConfig : Deployed ) {
196
+ private fun MavenPublication.configurePom (deployConfig : Deployed ) = also {
196
197
pom {
197
198
// Name and description cannot be set directly through the property, since they somehow aren't applied
198
199
// 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