Skip to content

Commit

Permalink
Merge pull request #49 from nebula-plugins/use-better-jvm-vendor-info
Browse files Browse the repository at this point in the history
Use java vm vendor to get vendor information
  • Loading branch information
rpalcolea authored Oct 15, 2018
2 parents ee7a5b7 + a5fafa1 commit dceba44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class InfoJavaPlugin implements Plugin<Project>, InfoCollectorPlugin {
void apply(Project project) {
// This can't change, so we can commit it early
project.plugins.withType(InfoBrokerPlugin) { InfoBrokerPlugin manifestPlugin ->
manifestPlugin.add(CREATED_PROPERTY, "${System.getProperty('java.runtime.version')} (${System.getProperty('java.vm.specification.vendor')})")
manifestPlugin.add(CREATED_PROPERTY, "${System.getProperty('java.runtime.version')} (${System.getProperty('java.vm.vendor')})")
manifestPlugin.add(JDK_PROPERTY, System.getProperty('java.version'))
}

Expand Down

0 comments on commit dceba44

Please sign in to comment.