We shouldn't recommend use of outdated JDKs.

[skip ci]
This commit is contained in:
Phil Hagelberg 2017-10-18 10:19:57 -07:00
parent 5074a903e9
commit 3630e83d0f
4 changed files with 8 additions and 10 deletions

View file

@ -1,6 +1,6 @@
# Leiningen # Leiningen
<img src="http://leiningen.org/img/leiningen.jpg" <img src="https://leiningen.org/img/leiningen.jpg"
alt="Leiningen logo" title="The man himself" align="right" /> alt="Leiningen logo" title="The man himself" align="right" />
> "Leiningen!" he shouted. "You're insane! They're not creatures you can > "Leiningen!" he shouted. "You're insane! They're not creatures you can
@ -15,13 +15,12 @@ Leiningen is for automating Clojure projects without setting your hair on fire.
If your preferred If your preferred
[package manager](https://github.com/technomancy/leiningen/wiki/Packaging) [package manager](https://github.com/technomancy/leiningen/wiki/Packaging)
offers a recent version of Leiningen, try that first. Many package managers still offers a recent version of Leiningen, try that first as long as it has version 2.x.
include version 1.x, which is rather outdated, so you may be better off installing manually.
Leiningen installs itself on the first run of the `lein` shell script; there is no Leiningen installs itself on the first run of the `lein` shell script; there is no
separate install script. Follow these instructions to install Leiningen manually: separate install script. Follow these instructions to install Leiningen manually:
1. Make sure you have a Java JDK version 6 or later. 1. Make sure you have Java installed; version 8 is recommended at this time.
2. [Download the `lein` script from the `stable` branch](https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein) 2. [Download the `lein` script from the `stable` branch](https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein)
of this project. of this project.
3. Place it on your `$PATH`. (`~/bin` is a good choice if it is on your path.) 3. Place it on your `$PATH`. (`~/bin` is a good choice if it is on your path.)
@ -121,8 +120,7 @@ Leiningen documentation is organized as a number of guides:
## Plugins ## Plugins
Leiningen supports plugins which may contain both new tasks and hooks Leiningen supports plugins which may introduce new tasks. See
that modify behaviour of existing tasks. See
[the plugins wiki page](https://github.com/technomancy/leiningen/wiki/Plugins) [the plugins wiki page](https://github.com/technomancy/leiningen/wiki/Plugins)
for a full list. If a plugin is needed for successful test or build for a full list. If a plugin is needed for successful test or build
runs, (such as `lein-tar`) then it should be added to `:plugins` in runs, (such as `lein-tar`) then it should be added to `:plugins` in
@ -146,5 +144,5 @@ me that good builds are important.
Images Copyright © 2010 Phil Hagelberg. Distributed under the Creative Images Copyright © 2010 Phil Hagelberg. Distributed under the Creative
Commons Attribution + ShareAlike Commons Attribution + ShareAlike
License. [Full-size version](http://leiningen.org/img/leiningen-full.jpg) License. [Full-size version](https://leiningen.org/img/leiningen-full.jpg)
available. available.

View file

@ -5,7 +5,7 @@ consists of the task execution implementation, project configuration,
and helper functions. The built-in tasks and the launcher scripts are and helper functions. The built-in tasks and the launcher scripts are
kept in the main `leiningen` project. kept in the main `leiningen` project.
More detailed [API reference](http://leiningen.org/reference.html) is More detailed [API reference](https://leiningen.org/reference.html) is
available. available.
## Namespaces ## Namespaces

View file

@ -3,7 +3,7 @@
(add-dependencies :coordinates '[[clj-aws-s3 "0.3.6"] (add-dependencies :coordinates '[[clj-aws-s3 "0.3.6"]
[tentacles "0.2.4"]] [tentacles "0.2.4"]]
:repositories (merge cemerick.pomegranate.aether/maven-central :repositories (merge cemerick.pomegranate.aether/maven-central
{"clojars" "http://clojars.org/repo"})) {"clojars" "https://clojars.org/repo"}))
(ns leiningen.downloads (ns leiningen.downloads
"Calculate download statistics from logs." "Calculate download statistics from logs."

View file

@ -351,7 +351,7 @@ These get replaced with the corresponding values from the project map."
(def ^:private min-version-warning (def ^:private min-version-warning
"*** Warning: This project requires Leiningen %s, but you have %s *** "*** Warning: This project requires Leiningen %s, but you have %s ***
Get the latest version of Leiningen at http://leiningen.org or by executing Get the latest version of Leiningen at https://leiningen.org or by executing
\"lein upgrade\".") \"lein upgrade\".")
(defn- verify-min-version (defn- verify-min-version