Nikky
03/20/2022, 10:53 AM.main.kts
can i use @file:Repositry
to point to a local folder repository ?
@file:Repository("/home/nikky/dev/forks/github-actions-kotlin-dsl/localRepo/")
does not seem to work
or do repostories for this need to be http based ?ephemient
03/20/2022, 11:29 AM@file:Repository("file:/home/nikky/dev/forks/github-actions-kotlin-dsl/localRepo/")
or something similar to work, have you tried?Big Chungus
03/20/2022, 12:30 PMNikky
03/20/2022, 12:33 PMfile:///home/nikky/...
Big Chungus
03/20/2022, 12:34 PMNikky
03/20/2022, 12:39 PMBig Chungus
03/20/2022, 12:39 PMephemient
03/20/2022, 12:43 PMnew File("/home").toURI().toString().equals("file:/home")
which is indeed inconsistent with how everybody else handles file URIs, but that's just how it is… well, as long as it worksVampire
03/20/2022, 3:05 PMlocalhost
. It can be legally omitted completely, resulting in only one slash, but not all parsers support that properly.Vampire
03/20/2022, 3:06 PMephemient
03/20/2022, 3:10 PMephemient
03/20/2022, 3:10 PMVampire
03/20/2022, 3:19 PM