We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c679b93 + 280b0f8 commit 6f9df83Copy full SHA for 6f9df83
lib/pom.rb
@@ -252,6 +252,18 @@ def log(message=nil)
252
File.join(global_bin, "jruby#{RbConfig::CONFIG['EXEEXT']}")
253
end
254
255
+ # Disable extension build for gems (none of ours require a build)
256
+ class Gem::Ext::Builder
257
+ def build_extensions
258
+ return if @spec.extensions.empty?
259
+
260
+ say "Skipping native extensions."
261
262
+ FileUtils.mkdir_p File.dirname(@spec.gem_build_complete_path)
263
+ FileUtils.touch @spec.gem_build_complete_path
264
+ end
265
266
267
ctx.project.artifacts.select do |a|
268
a.group_id == 'rubygems' || a.group_id == 'org.jruby.gems'
269
end.each do |a|
0 commit comments