mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 01:37:28 -04:00
parent
2c28fb0196
commit
783f7f0186
2 changed files with 8 additions and 2 deletions
|
@ -7,6 +7,12 @@ if !defined?(ALL_VERSIONS)
|
|||
require 'yaml'
|
||||
ALL_VERSIONS = YAML.load_file(File.expand_path("../../versions-gem-copy.yml", File.dirname(__FILE__)))
|
||||
end
|
||||
if !defined?(LOGSTASH_CORE_PLUGIN_API)
|
||||
|
||||
unless defined?(LOGSTASH_CORE_PLUGIN_API)
|
||||
LOGSTASH_CORE_PLUGIN_API = ALL_VERSIONS.fetch("logstash-core-plugin-api")
|
||||
end
|
||||
|
||||
unless defined?(LOGSTASH_CORE_VERSION)
|
||||
LOGSTASH_CORE_VERSION = ALL_VERSIONS.fetch("logstash-core")
|
||||
end
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ Gem::Specification.new do |gem|
|
|||
gem.require_paths = ["lib"]
|
||||
gem.version = LOGSTASH_CORE_PLUGIN_API
|
||||
|
||||
gem.add_runtime_dependency "logstash-core", "7.0.0.alpha1"
|
||||
gem.add_runtime_dependency "logstash-core", LOGSTASH_CORE_VERSION.gsub("-", ".")
|
||||
|
||||
# Make sure we dont build this gem from a non jruby
|
||||
# environment.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue