From 3630e83d0ffae1a7cc4dc61abe2f72c28ca39f14 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Wed, 18 Oct 2017 10:19:57 -0700 Subject: [PATCH] We shouldn't recommend use of outdated JDKs. [skip ci] --- README.md | 12 +++++------- leiningen-core/README.md | 2 +- leiningen-core/dev-resources/leiningen/downloads.clj | 2 +- leiningen-core/src/leiningen/core/main.clj | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ead10c5e..5a66d408 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Leiningen -Leiningen logo > "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 [package manager](https://github.com/technomancy/leiningen/wiki/Packaging) -offers a recent version of Leiningen, try that first. Many package managers still -include version 1.x, which is rather outdated, so you may be better off installing manually. +offers a recent version of Leiningen, try that first as long as it has version 2.x. 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: -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) of this project. 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 -Leiningen supports plugins which may contain both new tasks and hooks -that modify behaviour of existing tasks. See +Leiningen supports plugins which may introduce new tasks. See [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 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 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. diff --git a/leiningen-core/README.md b/leiningen-core/README.md index 6553fb85..321da28d 100644 --- a/leiningen-core/README.md +++ b/leiningen-core/README.md @@ -5,7 +5,7 @@ consists of the task execution implementation, project configuration, and helper functions. The built-in tasks and the launcher scripts are 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. ## Namespaces diff --git a/leiningen-core/dev-resources/leiningen/downloads.clj b/leiningen-core/dev-resources/leiningen/downloads.clj index 421badf3..107e8933 100644 --- a/leiningen-core/dev-resources/leiningen/downloads.clj +++ b/leiningen-core/dev-resources/leiningen/downloads.clj @@ -3,7 +3,7 @@ (add-dependencies :coordinates '[[clj-aws-s3 "0.3.6"] [tentacles "0.2.4"]] :repositories (merge cemerick.pomegranate.aether/maven-central - {"clojars" "http://clojars.org/repo"})) + {"clojars" "https://clojars.org/repo"})) (ns leiningen.downloads "Calculate download statistics from logs." diff --git a/leiningen-core/src/leiningen/core/main.clj b/leiningen-core/src/leiningen/core/main.clj index a5240a7a..c3a0bd8f 100644 --- a/leiningen-core/src/leiningen/core/main.clj +++ b/leiningen-core/src/leiningen/core/main.clj @@ -351,7 +351,7 @@ These get replaced with the corresponding values from the project map." (def ^:private min-version-warning "*** 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\".") (defn- verify-min-version