-
Notifications
You must be signed in to change notification settings - Fork 32
/
jrjackson.gemspec
31 lines (26 loc) · 1.35 KB
/
jrjackson.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
#! /usr/bin/env jruby
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jrjackson/build_info'
Gem::Specification.new do |s|
s.name = 'jrjackson'
s.version = JrJackson::BuildInfo.version
s.date = JrJackson::BuildInfo.release_date
# need java platform for jar-dependencies to work
s.platform = 'java'
s.authors = ['Guy Boertje']
s.email = ['[email protected]']
s.homepage = "http://github.com/guyboertje/jrjackson"
s.summary = %q{A JRuby wrapper for the java jackson json processor jar}
s.description = %q{A mostly native JRuby wrapper for the java jackson json processor jar}
s.license = 'Apache-2.0'
s.require_paths = ["lib"]
s.add_development_dependency 'jar-dependencies', '< 2.0', '>= 0.3.2'
jackson_version = JrJackson::BuildInfo.jackson_version
jackson_databind_version = JrJackson::BuildInfo.jackson_databind_version
s.requirements << "jar com.fasterxml.jackson.core:jackson-core, #{jackson_version}"
s.requirements << "jar com.fasterxml.jackson.core:jackson-annotations, #{jackson_version}"
s.requirements << "jar com.fasterxml.jackson.core:jackson-databind, #{jackson_databind_version}"
s.requirements << "jar com.fasterxml.jackson.module:jackson-module-afterburner, #{jackson_version}"
s.files = JrJackson::BuildInfo.files
end