Re: Re: Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Michael Stockman
This version of the grapeConfig.xml with the credentials block and the new ibiblio tage was enough to get this working with a @Grab command. In the ibiblio tag I did add a wildcard in the root url so I believe any repo under a user would get pulled. https://maven.pkg.github.com/user/

Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Michael Stockman
Hello, Does anyone have any experience importing GitHub packages as dependencies using Groovy Grapes? I have followed the tutorials for the Gradle build tool, and successfully published a package, and then used it as a dependency in a separate project. I am struggling to understand if it is even

Re: Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Michael Stockman
Thank you Dirk. Some of my google searching was bringing up results related to nexus instances and customized ivy settings through a grapeConfig.xml file. Unfortunately I have found no examples so far of someone successfully creating a grapeConfig.xml to allow a GitHub package. Maybe I should look

Re: Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Dirk Heinrichs via users
Am Mittwoch, dem 07.12.2022 um 08:43 -0500 schrieb Michael Stockman: Does anyone have any experience importing GitHub packages as dependencies using Groovy Grapes? Not with GitHub. But we're using a custom grapeConfig.xml to download grapes via our local Nexus instance. See

Re: Re: Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Nelson, Erick
It’s been awhile since I have done it … and we are in the process of migrating from nexus to jfrog… but think it should just be another ibiblio entry in your grapeConfig.xml. Something like ….. From: Michael Stockman Date: Wednesday, December 7, 2022 at 6:06 AM To: users@groovy.apache.org ,

Re: Re: Using GitHub Packages with Groovy Grapes for scripting

2022-12-07 Thread Michael Stockman
I found an example in a stackoverflow post for Spark using github packages. I am going to create a custom ivy grapeConfig.xml following this example and see if I can get it to work.