From 7de8ae2602c3f0b8109ac84a1e1844a19bbb2608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kautler?= Date: Sun, 8 Sep 2024 02:34:43 +0200 Subject: [PATCH] fix(abg): use correct coordinates and file names in generated GMM file --- .../workflows/mavenbinding/ModuleBuilding.kt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/ModuleBuilding.kt b/maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/ModuleBuilding.kt index 170729fc93..76dbbda419 100644 --- a/maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/ModuleBuilding.kt +++ b/maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/ModuleBuilding.kt @@ -1,7 +1,6 @@ package io.github.typesafegithub.workflows.mavenbinding import io.github.typesafegithub.workflows.actionbindinggenerator.domain.ActionCoords -import io.github.typesafegithub.workflows.actionbindinggenerator.domain.fullName internal fun ActionCoords.buildModuleFile() = """ @@ -9,7 +8,7 @@ internal fun ActionCoords.buildModuleFile() = "formatVersion": "1.1", "component": { "group": "$owner", - "module": "$fullName", + "module": "$mavenName", "version": "$version", "attributes": { "org.gradle.status": "release" @@ -35,8 +34,8 @@ internal fun ActionCoords.buildModuleFile() = "dependencies": [], "files": [ { - "name": "$fullName-$version.jar", - "url": "$fullName-$version.jar", + "name": "$mavenName-$version.jar", + "url": "$mavenName-$version.jar", "size": 1 } ] @@ -55,8 +54,8 @@ internal fun ActionCoords.buildModuleFile() = "dependencies": [], "files": [ { - "name": "$fullName-$version.jar", - "url": "$fullName-$version.jar", + "name": "$mavenName-$version.jar", + "url": "$mavenName-$version.jar", "size": 1 } ]