Skip to content

Commit

Permalink
Java Extension: use at least Java 1.8, avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored and ioquatix committed Jan 9, 2019
1 parent 375d439 commit ff2cac7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
require "bundler/gem_tasks"
require "rake/clean"

Dir[File.expand_path("../tasks/**/*.rake", __FILE__)].each { |task| load task }

task default: %w[compile spec rubocop]

CLEAN.include "**/*.o", "**/*.so", "**/*.bundle", "**/*.jar", "pkg", "tmp"
2 changes: 2 additions & 0 deletions tasks/extension.rake → rakelib/extension.rake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ if defined? JRUBY_VERSION
require "rake/javaextensiontask"
Rake::JavaExtensionTask.new("nio4r_ext") do |ext|
ext.ext_dir = "ext/nio4r"
ext.source_version = "1.8"
ext.target_version = "1.8"
end
else
require "rake/extensiontask"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit ff2cac7

Please sign in to comment.