From 6c470810efd169419f3e5d3e75a48dd96d27a7b4 Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Tue, 23 Aug 2016 22:11:04 -0300 Subject: [PATCH] uploadArchives.dependsOn jar --- modules/qi-core/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/qi-core/build.gradle b/modules/qi-core/build.gradle index a2b506d407..22a6fce5de 100644 --- a/modules/qi-core/build.gradle +++ b/modules/qi-core/build.gradle @@ -13,7 +13,7 @@ apply plugin: 'maven-publish' publishing { publications { mavenJava(MavenPublication) { - artifact jar + from components.java artifact (sourceJar) { classifier = 'sources' } @@ -80,5 +80,5 @@ jar { jar.dependsOn("vaadinCompile") install.dependsOn("publishToMavenLocal") -uploadArchives.dependsOn("publishMavenJavaPublicationToMavenRepository") +uploadArchives.dependsOn("jar", "publishMavenJavaPublicationToMavenRepository")