Make http(s) URIs their own module key (#495)

GenericUrl is a catch-all that uses URL.openConnection().
Since we now have special handling of HTTP urls, it makes more sense to
put it in its own module key.
This commit is contained in:
Daniel Chao
2024-05-16 08:38:43 -07:00
committed by GitHub
parent 5f4d475d84
commit d0def765a2
8 changed files with 65 additions and 26 deletions

View File

@@ -164,6 +164,7 @@ abstract class CliCommand(protected val cliOptions: CliBaseOptions) {
add(ModuleKeyFactories.projectpackage)
addAll(ModuleKeyFactories.fromServiceProviders())
add(ModuleKeyFactories.file)
add(ModuleKeyFactories.http)
add(ModuleKeyFactories.genericUrl)
}
}