Skip to content

Commit

Permalink
For custom java plugins, set the platform = 'java'. (#16628)
Browse files Browse the repository at this point in the history
  • Loading branch information
a03nikki authored Nov 6, 2024
1 parent efbee31 commit 046ea1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rubyUtils.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ void generateRubySupportFilesForPlugin(String projectDescription, String project
gemspecFile.append(" s.authors = ['" + String.join("', '", pluginInfo.authors) + "']\n")
gemspecFile.append(" s.email = ['" + String.join("', '", pluginInfo.email) + "']\n")
gemspecFile.append(" s.homepage = '" + pluginInfo.homepage + "'\n")
gemspecFile.append(" s.require_paths = ['lib', 'vendor/jar-dependencies']\n")
gemspecFile.append(" s.platform = 'java'\n")
gemspecFile.append(" s.require_paths = ['lib', 'vendor/jar-dependencies']\n")
gemspecFile.append("\n")
gemspecFile.append(" s.files = Dir[\"lib/**/*\",\"*.gemspec\",\"*.md\",\"CONTRIBUTORS\",\"Gemfile\",\"LICENSE\",\"NOTICE.TXT\", \"vendor/jar-dependencies/**/*.jar\", \"vendor/jar-dependencies/**/*.rb\", \"VERSION\", \"docs/**/*\"]\n")
gemspecFile.append("\n")
Expand Down

0 comments on commit 046ea1f

Please sign in to comment.