File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name = "stringio"
6
6
if RUBY_PLATFORM =~ /java/
7
7
require 'rake/javaextensiontask'
8
8
extask = Rake ::JavaExtensionTask . new ( "stringio" ) do |ext |
9
- require 'maven/ruby/maven'
9
+ ext . lib_dir << "/ #{ ext . platform } "
10
10
ext . source_version = '1.8'
11
11
ext . target_version = '1.8'
12
12
ext . ext_dir = 'ext/java'
File renamed without changes.
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ Gem::Specification.new do |s|
21
21
s . files = [ "README.md" ]
22
22
jruby = true if Gem ::Platform . new ( 'java' ) =~ s . platform or RUBY_ENGINE == 'jruby'
23
23
if jruby
24
- s . files += [ "lib/stringio.rb" , "lib/stringio.jar" ]
24
+ s . require_paths = "lib/java"
25
+ s . files += [ "lib/java/stringio.rb" , "lib/java/stringio.jar" ]
25
26
s . platform = "java"
26
27
else
27
28
s . extensions = [ "ext/stringio/extconf.rb" ]
You can’t perform that action at this time.
0 commit comments