From c39f92248fa35d6dd349efb18832ad66278141d1 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 1 Oct 2016 16:01:34 +1000 Subject: [PATCH] Fix latest pom output --- core/build.gradle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/build.gradle b/core/build.gradle index bf650840..5c26d979 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -34,6 +34,13 @@ task createPom << { version project.parent.version } }.writeTo("../mvn/com/boydti/fawe-api/${project.parent.version}/fawe-api-${project.parent.version}.pom") + pom { + project { + groupId 'com.boydti' + artifactId 'fawe-api' + version 'latest' + } + }.writeTo("../mvn/com/boydti/fawe-api/latest/fawe-api-latest.pom") } task copyFiles { @@ -41,8 +48,7 @@ task copyFiles { copy { from "../mvn/com/boydti/fawe-api/${project.parent.version}/" into '../mvn/com/boydti/fawe-api/latest/' - include('*.*') - rename ("fawe-api-${project.parent.version}.pom", 'fawe-api-latest.pom') + include('*.jar') rename ("fawe-api-${project.parent.version}.jar", 'fawe-api-latest.jar') } }