Skip to content

Consume Central with Leiningen⚓︎

The default Leiningen configuration for versions 2.4.3+ includes resolving components from the Central Repository via HTTPS.

To access the Central Repository with older Leiningen versions via HTTPS you can override the built-in central URL in your project.clj file.

:mirrors
  {"central" {:name "securedcentral" :url "https://repo1.maven.org/maven2"}
  }