From bbec34b415f3250ebc8fe59cc157c079e6e9aa57 Mon Sep 17 00:00:00 2001 From: danielrigos <85178707+danielrigos@users.noreply.github.com> Date: Mon, 7 Feb 2022 11:05:42 -0500 Subject: [PATCH] Change visibility of getMetadataFromBuildFile - Updated so Maven plugin can grab project/version metadata using BenchmarkRunner method --- .../java/com/gocypher/cybench/launcher/BenchmarkRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocypher-cybench-client/gocypher-cybench-runner/src/main/java/com/gocypher/cybench/launcher/BenchmarkRunner.java b/gocypher-cybench-client/gocypher-cybench-runner/src/main/java/com/gocypher/cybench/launcher/BenchmarkRunner.java index 53f63241..11e1dfd5 100644 --- a/gocypher-cybench-client/gocypher-cybench-runner/src/main/java/com/gocypher/cybench/launcher/BenchmarkRunner.java +++ b/gocypher-cybench-client/gocypher-cybench-runner/src/main/java/com/gocypher/cybench/launcher/BenchmarkRunner.java @@ -670,7 +670,7 @@ public static void printGCStats() { System.out.println("Total Garbage Collection Time (ms): " + garbageCollectionTime); } - private static String getMetadataFromBuildFile(String prop) { + public static String getMetadataFromBuildFile(String prop) { String property = ""; String temp2 = System.getProperty("user.dir"); File gradle = new File(temp2 + "/build.gradle");