-
-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Labels
ideasSome idea/suggestion around jbang behavior/feature setSome idea/suggestion around jbang behavior/feature set
Description
Is your feature request related to a problem? Please describe.
Gradle allows to add a local file as dependency
https://docs.gradle.org/current/userguide/declaring_dependencies.html
This is sometimes quite handy.
To perform some tests I wanted to replace
//DEPS com.mycompany:my-lib:1.2.3`
By a local file that I have just built locally (not pushed yet to any maven repo):
//DEPS ~/Git/my-project/my-lib/build/libs/my-lib-1.3.0-SNAPSHOT.jar
Describe the solution you'd like
The possibility to use path for jars (absolute and relative?).
Maybe supporting also wildcards?
I am also fine having to use //DEPS_FILE or anything else to indicate that I am pointing to a file instead of some maven coordinates.
Current behavior
With the current version of JBang, I get this error:
[jbang] [ERROR] [ERROR] Invalid dependency locator: '<path to the jar>'. Expected format is groupId:artifactId:version[:classifier][@type]
Metadata
Metadata
Assignees
Labels
ideasSome idea/suggestion around jbang behavior/feature setSome idea/suggestion around jbang behavior/feature set