Skip to content
Snippets Groups Projects
Commit 1975ce96 authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Create executable benchmark jar

parent d5b91368
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,18 @@ dependencies {
implementation 'com.beust:jcommander:1.72'
}
application {
mainClass = 'moobench.benchmark.BenchmarkMain'
}
jar {
manifest {
attributes 'Implementation-Title': 'Moobench Benchmark',
'Implementation-Version': '0.1-SNAPSHOT',
'Main-Class': 'moobench.benchmark.BenchmarkMain'
}
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment