Programmatically installing geneious JARs?
I'm looking at an existing custom plugin. Right now it expects the user to have downloaded the Geneious dev kit zip file and stashed it in a specific location in the repo. I was looking at changing this to a maven-style dependency fetcher (mvn, gradle, etc - not a big deal). I've seen a few references to a URL "http://assets.geneious.com/developer/geneious/ivy", but it no longer seems available.
Is there a better way here?
-
Hi Jeff,
You should still be able to use our Ivy repositories. We have a few outdated examples on GitHub. If you're happy using Gradle, then take a look at this one https://github.com/Biomatters/geneious-mira.
It is currently written to run Geneious Prime 2021.1.1 (see geneiousplugin.gradle#L29) but I have just done a quick test and works if you change that to 2024.0.3 (the most recent version).
Hope that helps.
0 -
Hmm, thanks - I had tried copying that repo and was getting a 403 but perhaps it was the version difference and/or I did something else wrong w/o noticing. Let me give this another try and I'll report back. Thanks!
0 -
Ok, confirming that works. When I was trying it yesterday I was also trying to use a newer version of Gradle. I might have gotten something else twisted up when converting the syntax from the Mira example.
0 -
And confirming I did get this working. Still tweaking for now but grabbing the dependency is definitely working. Thanks!
0
Please sign in to leave a comment.
Comments
4 comments