Add custom repository or local jar
elect86 opened this issue · 1 comments
elect86 commented
Hi,
I'd like to add dependency for a custom repository or a local jar
Is this already supported?
I tried
barbie15@hemera4:/bigdata/casus/matsim/ki/bin$ ./ki.sh
ki-shell 0.3/1.4.32
type :h for help
[0] :repository https://raw.githubusercontent.com/kotlin-graphics/mary/master
WARNING No dependency resolver found that recognizes the repository coordinates 'kotlin.script.experimental.dependencies.RepositoryCoordinates@7281e239' (Line_1.kts:1:1)
[1] :dependsOn elect86:slurm.kts:0.0.1
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING File 'elect86:slurm.kts:0.0.1' not found (Line_2.kts:1:1)
WARNING org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact elect86:slurm.kts:jar:0.0.1 in maven central (https://repo.maven.apache.org/maven2/) (Line_2.kts:1:1)
for some strange reasons, later executions of
:repository https://raw.githubusercontent.com/kotlin-graphics/mary/master
work fine (and also the next :dependsOn
)
One idea could be to automatically load all the jars in the ki.sh
location..
asm0dey commented
Sorry for inconvenience, solved in https://github.com/Kotlin/kotlin-interactive-shell/releases/tag/v0.4.3