Error message to detect unspecified transitive dependencies. This seem to be a probl...
[buildr.git] / buildr.gemspec
blob32ac351347f66374d55f7df9536fc7fc8e004913
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with this
3 # work for additional information regarding copyright ownership.  The ASF
4 # licenses this file to you under the Apache License, Version 2.0 (the
5 # "License"); you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 #    http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
13 # License for the specific language governing permissions and limitations under
14 # the License.
17 Gem::Specification.new do |spec|
18   spec.name           = 'buildr'
19   spec.version        = '1.3.4'
20   spec.author         = 'Apache Buildr'
21   spec.email          = "buildr-user@incubator.apache.org"
22   spec.homepage       = "http://incubator.apache.org/buildr"
23   spec.summary        = 'A build system that doesn\'t suck'
24   spec.rubyforge_project  = 'buildr'
26   # Rakefile needs to create spec for both platforms (ruby and java), using the
27   # $platform global variable.  In all other cases, we figure it out from RUBY_PLATFORM.
28   spec.platform       = $platform || RUBY_PLATFORM[/java/] || 'ruby'
29   
30   spec.files          = Dir['lib/**/*', 'bin/**/*', 'addon/**/*', 'doc/**/*', 'spec/**/*',
31                             'README.rdoc', 'LICENSE', 'NOTICE', 'DISCLAIMER', 'CHANGELOG',
32                             'buildr.*', 'Rakefile', 'rakelib/**/*', '_buildr', 'etc/**/*']
33   spec.require_paths  = ['lib', 'addon']
34   spec.bindir         = 'bin'                               # Use these for applications.
35   spec.executable     = 'buildr'
37   spec.has_rdoc         = true
38   spec.extra_rdoc_files = ['README.rdoc', 'CHANGELOG', 'LICENSE', 'NOTICE', 'DISCLAIMER']
39   spec.rdoc_options     << '--title' << "Buildr" << '--main' << 'README.rdoc' <<
40                            '--line-numbers' << '--inline-source' << '-p' <<
41                            '--webcvs' << 'http://svn.apache.org/repos/asf/incubator/buildr/trunk/'
43   # Tested against these dependencies.
44   spec.add_dependency 'rake',                 '0.8.3'
45   spec.add_dependency 'builder',              '2.1.2'
46   spec.add_dependency 'net-ssh',              '2.0.4'
47   spec.add_dependency 'net-sftp',             '2.0.1'
48   spec.add_dependency 'rubyzip',              '0.9.1'
49   spec.add_dependency 'highline',             '1.4.0'
50   spec.add_dependency 'rubyforge',            '1.0.1'
51   spec.add_dependency 'hoe',                  '1.8.1'
52   spec.add_dependency 'rjb',                  '1.1.6' if spec.platform.to_s == 'ruby' 
53   spec.add_dependency 'Antwrap',              '0.7.0'
54   spec.add_dependency 'rspec',                '1.1.9'
55   spec.add_dependency 'xml-simple',           '1.0.11'
56   spec.add_dependency 'archive-tar-minitar',  '0.5.2'
57   spec.add_dependency 'jruby-openssl',        '0.2'   if spec.platform.to_s == 'java'
58 end