Set java platform to gemspec on java platform
This is needed for java platform-specific release.
This commit is contained in:
parent
ef41fdcc35
commit
5f5dedf7b9
|
@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
|
|
||||||
if /java/ === RUBY_PLATFORM
|
if /java/ === RUBY_PLATFORM
|
||||||
# spec.platform = 'java'
|
spec.platform = 'java'
|
||||||
else
|
else
|
||||||
spec.extensions = ['ext/hamlit/extconf.rb']
|
spec.extensions = ['ext/hamlit/extconf.rb']
|
||||||
spec.required_ruby_version = '>= 2.1.0'
|
spec.required_ruby_version = '>= 2.1.0'
|
||||||
|
|
Loading…
Reference in New Issue