aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/elasticsearch.rb
diff options
context:
space:
mode:
authorandrew morton2014-09-08 12:21:12 -0700
committerMike McQuaid2014-09-09 16:58:12 +0100
commit607f4aedd1852fd35f4122f214d89a284133e2eb (patch)
treeca197f96cc21e8ac030a6de9ff95b00c61037781 /Library/Formula/elasticsearch.rb
parent2c636410c5b7532c6d586e7a48337152b432ac7a (diff)
downloadhomebrew-607f4aedd1852fd35f4122f214d89a284133e2eb.tar.bz2
elasticsearch: depend on Java 7.
Closes #32164. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/elasticsearch.rb')
-rw-r--r--Library/Formula/elasticsearch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/elasticsearch.rb b/Library/Formula/elasticsearch.rb
index 446f93ef8..acf616866 100644
--- a/Library/Formula/elasticsearch.rb
+++ b/Library/Formula/elasticsearch.rb
@@ -5,6 +5,8 @@ class Elasticsearch < Formula
url "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.2.tar.gz"
sha1 "a7ea036468473084cd62e846f05a2069a987fb03"
+ depends_on :java => "1.7"
+
head do
url "https://github.com/elasticsearch/elasticsearch.git"
depends_on "maven"
@@ -80,8 +82,6 @@ class Elasticsearch < Formula
Data: #{var}/elasticsearch/#{cluster_name}/
Logs: #{var}/log/elasticsearch/#{cluster_name}.log
Plugins: #{var}/lib/elasticsearch/plugins/
-
- ElasticSearch requires Java 7; you will need to install an appropriate JDK.
EOS
end