From 046ea1f5a8a5e26f82d1495bb2ed9a7a3fe96332 Mon Sep 17 00:00:00 2001 From: Nicole Albee <2642763+a03nikki@users.noreply.github.com> Date: Wed, 6 Nov 2024 02:48:21 -0600 Subject: [PATCH] For custom java plugins, set the platform = 'java'. (#16628) --- rubyUtils.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rubyUtils.gradle b/rubyUtils.gradle index 65458c4f8e9..94d020543c2 100644 --- a/rubyUtils.gradle +++ b/rubyUtils.gradle @@ -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")