From cd6cf796f7c2230c940f95f46dc905a25152c486 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Fri, 10 Nov 2017 15:13:45 +0200 Subject: [PATCH] Port to Gradle 4.3.1 --- .../java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java | 2 +- .../java/org/fedoraproject/xmvn/connector/gradle/XMvnInstallTask.java | 4 ++-- xmvn-parent/pom.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java b/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java index 6305aa86..9e1a247a 100644 --- a/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java +++ b/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/GradleResolver.java @@ -226,7 +226,7 @@ public class GradleResolver ModuleVersionIdentifier mvi = moduleIdentifierFactory.moduleWithVersion( id.getGroup(), id.getModule(), id.getVersion() ); MutableModuleComponentResolveMetadata metaData = - new DefaultMutableMavenModuleResolveMetadata( mvi, id, request.getArtifacts() ); + DefaultMutableMavenModuleResolveMetadata.missing( mvi, id ); result.resolved( metaData.asImmutable() ); return; } diff --git a/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/XMvnInstallTask.java b/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/XMvnInstallTask.java index 07905f1f..d220e266 100644 --- a/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/XMvnInstallTask.java +++ b/xmvn-connector-gradle/src/main/java/org/fedoraproject/xmvn/connector/gradle/XMvnInstallTask.java @@ -116,7 +116,7 @@ class XMvnInstallTask } ).collect( Collectors.toList() ); } - private void deploy( PublishArtifact gradleArtifact, Set dependencies ) + private void deploy( PublishArtifact gradleArtifact, Set dependencies ) { DeploymentRequest request = new DeploymentRequest(); @@ -170,7 +170,7 @@ class XMvnInstallTask for ( UsageContext usage : internalComponent.getUsages() ) { - Set dependencies = usage.getDependencies(); + Set dependencies = usage.getDependencies(); for ( PublishArtifact artifact : usage.getArtifacts() ) { diff --git a/xmvn-parent/pom.xml b/xmvn-parent/pom.xml index 7e7a6d94..910e27b6 100644 --- a/xmvn-parent/pom.xml +++ b/xmvn-parent/pom.xml @@ -84,7 +84,7 @@ 1 2.4.0 1.64 - 4.2.1 + 4.3.1 2.4.10 2.2 1.0.3 -- 2.13.6