[build] Use project configured groupId in generated output artifact names (#7095)

Instead of hardcoding to use the project name after edu_wpi_first, which broke epilogue publishing

This did not affect local maven publishing, since it does not use those specially named and configured artifacts
This commit is contained in:
Sam Carlberg
2024-09-18 23:44:01 -04:00
committed by GitHub
parent 0df82da7e6
commit f1dde8895e

View File

@@ -5,7 +5,7 @@ apply plugin: 'com.google.protobuf'
def baseArtifactId = project.baseId
def artifactGroupId = project.groupId
def javaBaseName = "_GROUP_edu_wpi_first_${project.baseId}_ID_${project.baseId}-java_CLS"
def javaBaseName = "_GROUP_${project.groupId.replace('.', '_')}_ID_${project.baseId}-java_CLS"
def outputsFolder = file("$project.buildDir/outputs")