Switches from slf4j-nop to log4j. Uses built in logstash log4j setup. Switches to jar-dependencies (vendor'ed) instead of version controlled jars. Update logstash-api to v2. Does not yet support multi_recieve
This commit is contained in:
@@ -9,6 +9,9 @@ Gem::Specification.new do |s|
|
||||
s.homepage = "https://github.com/theangryangel/logstash-output-jdbc"
|
||||
s.require_paths = [ "lib" ]
|
||||
|
||||
# Java only
|
||||
s.platform = 'java'
|
||||
|
||||
# Files
|
||||
s.files = Dir.glob("{lib,vendor,spec}/**/*") + %w(LICENSE.txt README.md)
|
||||
|
||||
@@ -17,11 +20,19 @@ Gem::Specification.new do |s|
|
||||
|
||||
# Special flag to let us know this is actually a logstash plugin
|
||||
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
||||
|
||||
|
||||
# Gem dependencies
|
||||
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
|
||||
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
|
||||
s.add_runtime_dependency 'stud'
|
||||
s.add_runtime_dependency "logstash-codec-plain"
|
||||
|
||||
|
||||
# Stuck on HikariCP 2.4.2 until https://github.com/brettwooldridge/HikariCP/issues/600
|
||||
# is resolved.
|
||||
s.requirements << "jar 'com.zaxxer:HikariCP', '2.4.2'"
|
||||
s.requirements << "jar 'org.slf4j:slf4j-log4j12', '1.7.13'"
|
||||
|
||||
s.add_development_dependency "jar-dependencies"
|
||||
s.add_development_dependency 'ruby-maven', '~> 3.3'
|
||||
|
||||
s.add_development_dependency "logstash-devutils"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user