1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# frozen_string_literal: true
# use the version from the main project
require "#{File.dirname File.expand_path(__FILE__)}/../../lib/jars/version"
Gem::Specification.new do |s|
s.name = File.basename(File.dirname(File.expand_path(__FILE__)))
s.version = '1.0.0'
s.author = ['example person']
s.email = ['mail@example.com']
s.summary = "summary of #{s.name}"
s.description = "description of #{s.name}"
# nice to have
s.platform = 'java'
s.required_ruby_version = '>= 2.6'
s.files = Dir['lib/**/*.rb']
s.files += Dir['lib/*.jar']
s.files += Dir['*.file']
s.files += Dir['*.gemspec']
s.metadata['rubygems_mfa_required'] = 'true'
end
|