You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/05/04 05:45:41 UTC

[incubator-tuweni] branch master updated: fix maven publishing with latest gradle

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 54660a0  fix maven publishing with latest gradle
54660a0 is described below

commit 54660a0f0f57f5aae19eaef7191117e3dd177d2c
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Sun May 3 22:45:25 2020 -0700

    fix maven publishing with latest gradle
---
 build.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/build.gradle b/build.gradle
index 6438e6f..f7ff5bf 100644
--- a/build.gradle
+++ b/build.gradle
@@ -429,6 +429,15 @@ allprojects {
           artifactId project.jar.baseName
           version project.version
 
+          versionMapping {
+            usage('java-runtime'){
+              fromResolutionResult()
+            }
+            usage('java-api'){
+              fromResolutionResult()
+            }
+          }
+
           pom {
             name = project.jar.archiveBaseName.toString()
             afterEvaluate { description = project.description }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org