From dev-return-5969-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Sun Mar 24 14:33:15 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A017518065B for ; Sun, 24 Mar 2019 15:33:14 +0100 (CET) Received: (qmail 47669 invoked by uid 500); 24 Mar 2019 14:33:13 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Delivered-To: moderator for dev@groovy.apache.org Received: (qmail 46994 invoked by uid 99); 24 Mar 2019 14:32:38 -0000 X-Mailer: LuaSocket 3.0-rc1 Content-Type: text/plain; charset=utf-8 From: anton.pryamostanov@gmail.com x-ponymail-sender: 0fcd45f7a62655c50ee38172bc4c0226dde78275 Message-ID: References: x-ponymail-agent: PonyMail Composer/0.3 MIME-Version: 1.0 In-Reply-To: To: Subject: Potential questionable situation in Grapes Module Loading Date: Sun, 24 Mar 2019 14:32:36 -0000 Dear Groovy Dev Mailing List, When I follow Gradle recommendations in terms of dependency scopes of my Groovy Library, in the end it produces errors when loaded via Grapes from Groovy Console/Groovy Shell: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-xml is loaded in version 2.5.6 and you are trying to load version 2.5.4 The build.gradle contains nothing more than the below in terms of dependencies: .. dependencies { compile 'org.codehaus.groovy:groovy-all:2.5.4' .. } .. Question: the Gradle documentation has to be fixed, or there is bug in Grapes? Gradle documentation in question: https://guides.gradle.org/building-groovy-libraries/?_ga=2.99509400.76686785.1553433006-920887584.1535023978