mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Go to network.
This commit is contained in:
parent
f6690477de
commit
0aa73745bd
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ private class Main @Inject constructor(
|
||||||
var pluginClassLoader = javaClass.classLoader
|
var pluginClassLoader = javaClass.classLoader
|
||||||
val dependencies = arrayListOf<IClasspathDependency>()
|
val dependencies = arrayListOf<IClasspathDependency>()
|
||||||
args.pluginIds?.let {
|
args.pluginIds?.let {
|
||||||
dependencies.addAll(it.split(",").map { depFactory.create(it) })
|
// We want this call to go to the network if no version was specified, so set localFirst to false
|
||||||
|
dependencies.addAll(it.split(",").map { depFactory.create(it, localFirst = false) })
|
||||||
}
|
}
|
||||||
args.pluginJarFiles?.let {
|
args.pluginJarFiles?.let {
|
||||||
dependencies.addAll(it.split(",").map { FileDependency(it) })
|
dependencies.addAll(it.split(",").map { FileDependency(it) })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue