Gradle: Optionally include jbigi at runtime for core

This enables running the benchmarks with jbigi present:

./gradlew -Pwith.jbigi jmh --no-daemon
This commit is contained in:
str4d
2019-02-17 15:42:15 +00:00
parent e662f09838
commit d244d17363

View File

@@ -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'
}