diff --git a/src/dorkbox/gradlePublish/PublishPlugin.kt b/src/dorkbox/gradlePublish/PublishPlugin.kt index d823eb4..93421c9 100644 --- a/src/dorkbox/gradlePublish/PublishPlugin.kt +++ b/src/dorkbox/gradlePublish/PublishPlugin.kt @@ -253,14 +253,14 @@ class PublishPlugin : Plugin { // prune off the "file:" val localMavenRepo = project.repositories.mavenLocal().url.toString().replaceFirst("file:", "") - // clean-out the repo!! - File(localMavenRepo).deleteRecursively() - val projectName = config.groupId.replace('.', '/') // output the release URL in the console val mavenLocation = "$localMavenRepo$projectName/${config.name}/${config.version}/" + // clean-out the repo!! + File(mavenLocation).deleteRecursively() + println("\tPublishing '${publication.groupId}:${publication.artifactId}:${publication.version}' to Maven Local") publication.artifacts.forEach {