Adjust ArchivePublication temp dir name

This commit is contained in:
Jason Penilla 2022-09-23 20:17:56 -07:00
parent aa8744b450
commit d80c30418a

View file

@ -45,8 +45,8 @@ abstract class ArchivePublication : ZippedTask() {
}
fun Project.archivePublication(publicationName: String): TaskProvider<ArchivePublication> {
val repoName = "archiveTempRepo_$publicationName"
val repoDir = layout.buildDirectory.dir(repoName)
val repoName = "archive${publicationName.capitalize()}PublicationTempRepo"
val repoDir = layout.buildDirectory.dir("tmp/$repoName")
the<PublishingExtension>().repositories {
maven {
name = repoName