diff options
-rw-r--r-- | build.gradle | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 10768106..ebc39b61 100644 --- a/build.gradle +++ b/build.gradle @@ -21,8 +21,11 @@ task buildMavenPlugin << { if (exitValue != 0) { throw new IOException("Failed to run Maven command: exit value $exitValue, output $mvnOutput") } +} +task prepareMavenPluginUpload << { def uploadDir = new File("maven-plugin/upload") + uploadDir.delete() uploadDir.mkdirs() def releaseFileName = "dokka-maven-plugin-${dokka_version}" new File("maven-plugin/target/${releaseFileName}.jar").renameTo(new File(uploadDir, "${releaseFileName}.jar")) |