File: mygem.gemspec

package info (click to toggle)
ruby-jar-dependencies 0.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: ruby: 2,407; sh: 137; xml: 117; java: 20; makefile: 9
file content (24 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
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