From d244d17363d05b2b0896bff60deba7eb7e6cfe87 Mon Sep 17 00:00:00 2001 From: str4d Date: Sun, 17 Feb 2019 15:42:15 +0000 Subject: [PATCH] Gradle: Optionally include jbigi at runtime for core This enables running the benchmarks with jbigi present: ./gradlew -Pwith.jbigi jmh --no-daemon --- core/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/build.gradle b/core/build.gradle index 2d34084620..a7533d2ad2 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -47,6 +47,10 @@ dependencies { implementation 'gnu.getopt:java-getopt:1.0.13' implementation 'org.gnu.gettext:libintl:0.18.3' + if (project.hasProperty("with.jbigi")) { + runtimeOnly project(path: ':installer', configuration: 'jbigi') + } + testCompile "org.scala-lang:scala-library:2.12.4" testCompile 'org.scalatest:scalatest_2.12:3.0.4' }