logstash/logstash-core-event-java/logstash-core-event-java.gemspec
Joao Duarte fa0eeb579f add single command release task and other release support tooling
Purpose:

* manage releases through a minimum number of rake tasks
* simplify building of snapshot builds
* create staged artifacts, candidates for releases, that required no changes to become releases
* this means the snapshot release process will not involve publishing gems, therefore:
* the gem artifacts should only be published to rubygems as a final artifact, at the time of GA

Changes:

* release artifacts no longer depend on gems of core components
* all core components are used locally AS-IS to minimize code changes between snapshot, RC and GA
* `versions.yml` describes the versions of all logstash parts and package
  * `rake version:set[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake version:set_plugin_api[version]` manage the yaml file and push the changes to the gemspecs/version.rb files
  * `rake artifact:all` generates SNAPSHOT artifacts: tar.gz, zip, rpm, deb
  * `RELEASE=1 rake artifact:all` creates release candidate artifacts + 4 gems: logstash-core, logstash-core-event, logstash-core-event-java and logstash-core-plugin-api

implements #5416 and #5414

Fixes #5460
2016-06-21 12:29:18 +01:00

31 lines
1.4 KiB
Ruby

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'logstash-core-event-java/version'
Gem::Specification.new do |gem|
gem.authors = ["Elastic"]
gem.email = ["info@elastic.co"]
gem.description = %q{The core event component of logstash, the scalable log and event management tool}
gem.summary = %q{logstash-core-event-java - The core event component of logstash}
gem.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
gem.license = "Apache License (2.0)"
gem.files = Dir.glob(["logstash-core-event-java.gemspec", "lib/**/*.jar", "lib/**/*.rb", "spec/**/*.rb"])
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "logstash-core-event-java"
gem.require_paths = ["lib"]
gem.version = LOGSTASH_CORE_EVENT_JAVA_VERSION
gem.platform = "java"
gem.add_runtime_dependency "jar-dependencies"
# as of Feb 3rd 2016, the ruby-maven gem is resolved to version 3.3.3 and that version
# has an rdoc problem that causes a bundler exception. 3.3.9 is the current latest version
# which does not have this problem.
gem.add_runtime_dependency "ruby-maven", "~> 3.3.9"
gem.requirements << "jar com.fasterxml.jackson.core:jackson-core, 2.7.1"
gem.requirements << "jar com.fasterxml.jackson.core:jackson-databind, 2.7.1-1"
end