switched build system from sbt to Gradle
This commit is contained in:
23
benchmark/build.gradle
Normal file
23
benchmark/build.gradle
Normal file
@@ -0,0 +1,23 @@
|
||||
plugins {
|
||||
id 'application'
|
||||
}
|
||||
|
||||
application {
|
||||
mainClassName = 'net.woggioni.wson.benchmark.Main'
|
||||
applicationDefaultJvmArgs = ['-Xmx8G']
|
||||
}
|
||||
|
||||
run {
|
||||
commandLine
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation rootProject
|
||||
implementation project(':antlr')
|
||||
implementation group: "net.woggioni", name: "jwo", version: getProperty('version.jwo')
|
||||
implementation group: 'org.tukaani', name: 'xz', version: getProperty('version.xz')
|
||||
implementation group: 'com.beust', name: 'jcommander', version: getProperty('version.jcommander')
|
||||
implementation group: "com.fasterxml.jackson.core", name: "jackson-databind", version: getProperty('version.jackson')
|
||||
|
||||
runtimeOnly project(':test-utils')
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
organization := (organization in LocalRootProject).value
|
||||
name := "worth-benchmark"
|
||||
version := (version in LocalRootProject).value
|
||||
resourceDirectory in Compile := (resourceDirectory in(LocalRootProject, Test)).value
|
||||
skip in publish := true
|
||||
maintainer := "oggioni.walter@gmail.com"
|
||||
mainClass := Some("net.woggioni.worth.benchmark.Main")
|
||||
javaOptions in Universal += "-J-Xmx4G"
|
||||
fork := true
|
||||
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % Versions.jackson
|
||||
libraryDependencies += "org.tukaani" % "xz" % Versions.xz
|
||||
libraryDependencies += "com.beust" % "jcommander" % Versions.jcommander
|
||||
libraryDependencies += "org.projectlombok" % "lombok" % Versions.lombok % Provided
|
Reference in New Issue
Block a user