-
Notifications
You must be signed in to change notification settings - Fork 19
/
jar-dependencies.gemspec
47 lines (31 loc) · 1.39 KB
/
jar-dependencies.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# frozen_string_literal: true
require_relative 'lib/jars/version'
Gem::Specification.new do |s|
s.name = 'jar-dependencies'
s.version = Jars::VERSION
s.author = 'christian meier'
s.email = ['mkristian@web.de']
s.summary = 'manage jar dependencies for gems'
s.homepage = 'https://github.com/mkristian/jar-dependencies'
s.bindir = 'exe'
s.executables = [lock_jars = 'lock_jars']
s.license = 'MIT'
s.files = Dir['{lib}/**/*'] + %w[Mavenfile Rakefile Readme.md jar-dependencies.gemspec MIT-LICENSE]
s.description = <<~TEXT
manage jar dependencies for gems and keep track which jar was already
loaded using maven artifact coordinates. it warns on version conflicts and
loads only ONE jar assuming the first one is compatible to the second one
otherwise your project needs to lock down the right version by providing a
Jars.lock file.
TEXT
s.required_ruby_version = '>= 2.6'
s.add_development_dependency 'minitest', '~> 5.10'
s.add_development_dependency 'ruby-maven', ruby_maven_version = '~> 3.9'
s.post_install_message = <<~TEXT
if you want to use the executable #{lock_jars} then install ruby-maven gem before using #{lock_jars}
$ gem install ruby-maven -v '#{ruby_maven_version}'
or add it as a development dependency to your Gemfile
gem 'ruby-maven', '#{ruby_maven_version}'
TEXT
s.metadata['rubygems_mfa_required'] = 'true'
end