build: debug println в publications.configureEach
release / Publish KMP libraries → caffeine Nexus (release) Failing after 23s
release / Build standalone fatjar (release) Has been skipped

This commit is contained in:
2026-09-15 23:29:14 +03:00
parent 31c4b1cfc4
commit b2d5684192
+3 -1
View File
@@ -70,9 +70,11 @@ subprojects {
// Явная установка version здесь гарантирует, что публикация всегда
// использует актуальное значение из rootProject.extra.
publications.withType<MavenPublication>().configureEach {
val v = rootProject.extra["projectVersion"] as String
println("DEBUG-CFG publication=${this.name} project=${project.name} setting version=$v (was=$version)")
groupId = rootProject.group.toString()
artifactId = project.name
version = rootProject.extra["projectVersion"] as String
version = v
pom {
name = project.name